Error processing SSI file
LEADTOOLS JavaScript (Leadtools.Annotations.Automation)

AttachContainer Method

Show in webframe
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
 function Leadtools.Annotations.Automation.AnnAutomation.attachContainer( 
   container ,
   undoRedoObject 
)

Parameters

ParameterTypeDescription
containerAnnContainerThe annotation container to attach this automation to. This value cannot be null.
undoRedoObjectAnnAutomationUndoRedoObjectOptional undo/redo object that contains the internal data.
Remarks

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

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

See Also

Reference

AnnAutomation Object
AnnAutomation Members

Error processing SSI file