Error processing SSI file
(Leadtools.Annotations.Automation)

Show in webframe

AttachContainer Method






The annotation container to attach this automation to. This value cannot be null.
Optional undo/redo object that contains the internal data.
Attaches this AnnAutomation object to a container and optional undo/redo object.
Syntax
public virtual void AttachContainer( 
   AnnContainer container,
   AnnAutomationUndoRedoObject undoRedoObject
)
'Declaration
 
Public Overridable Sub AttachContainer( _
   ByVal container As AnnContainer, _
   ByVal undoRedoObject As AnnAutomationUndoRedoObject _
) 
public virtual void AttachContainer( 
   AnnContainer container,
   AnnAutomationUndoRedoObject undoRedoObject
)
-(void) attachContainer:(LTAnnContainer*)container undoRedoObject:(NSObject*)undoRedoObject;
public void attachContainer(AnnContainer container, AnnAutomationUndoRedoObject undoRedoObject);
 function Leadtools.Annotations.Automation.AnnAutomation.AttachContainer( 
   container ,
   undoRedoObject 
)

Parameters

container
The annotation container to attach this automation to. This value cannot be null.
undoRedoObject
Optional undo/redo object that contains the internal data.
Remarks

You can use this method to attach this AnnAutomation object to an existing container. This could be useful in a multi-page annotation application for instance as shown in the example.

undoRedoObject must be either null or the value returned from GetUndoRedoObject that holds the data the previous time container was attached to this automation object.

Example

This example will show how a multi-page annotation application would use a single automation object to annotate multiple containers.

Requirements

Target Platforms

See Also

Reference

AnnAutomation Class
AnnAutomation Members

Error processing SSI file
  Leadtools.Annotations.Automation requires a Document or Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features