Attaches this AnnAutomation object to a container and optional undo/redo object.
public virtual void AttachContainer(
AnnContainer container,
AnnAutomationUndoRedoObject undoRedoObject
)
Public Overridable Sub AttachContainer( _
ByVal container As Leadtools.Annotations.Core.AnnContainer, _
ByVal undoRedoObject As Leadtools.Annotations.Automation.AnnAutomationUndoRedoObject _
)
public virtual void AttachContainer(
Leadtools.Annotations.Core.AnnContainer container,
Leadtools.Annotations.Automation.AnnAutomationUndoRedoObject undoRedoObject
)
-(void) attachContainer:(LTAnnContainer*)container undoRedoObject:(NSObject*)undoRedoObject;
public void attachContainer(AnnContainer container, AnnAutomationUndoRedoObject undoRedoObject);
function Leadtools.Annotations.Automation.AnnAutomation.AttachContainer(
container ,
undoRedoObject
)
public:
virtual void AttachContainer(
AnnContainer^ container,
AnnAutomationUndoRedoObject^ undoRedoObject
)
container
The annotation container to attach this automation to. This value cannot be null.
undoRedoObject
Optional undo/redo object that contains the internal data.
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.
This example will show how a multi-page annotation application would use a single automation object to annotate multiple containers.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET