Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.3.29
|
Leadtools.Annotations.Automation Assembly > Leadtools.Annotations.Automation Namespace > AnnAutomation Class : AttachContainer Method |
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 )
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.