AnnAutomation.prototype.attachContainer = function(
container,
undoRedoObject
)
attachContainer(
container: AnnContainer,
undoRedoObject: AnnAutomationUndoRedoObject
): void;
container
The annotation container to attach this automation to. This value cannot be null.
undoRedoObject
Optional undo/redo object that contains the internal data.
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.
The following example will show how a multipage annotation application would use a single automation object to annotate multiple containers.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document