attachContainer Method

Summary

Attaches this AnnAutomation object to a container and optional undo/redo object.

Syntax
TypeScript
JavaScript
AnnAutomation.prototype.attachContainer = function( 
   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

Use this method to attach this AnnAutomation object to an existing container. This could be useful in a multipage 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.

Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.