There are two examples for loading annotations and copying annotations from the clipboard in an automated annotation program.
In the Annotate example, when annotations are loaded from a file, or pasted from the clipboard, a child window is created. If annotation data is present, that data becomes the container for the child window and the window handle is set for the container. An automation object is then created and associated with the container. This allows full automated interaction with the newly added annotations. For more information on this, refer to ANNOTATE.C in the Annotate example.
In the documentation, the test functions in the sample code are designed to work with the tutorials Implementing an Automated Annotation Program and Using Automated Annotations in Run Mode. In the test functions for L_AnnLoad, L_AnnLoadMemory, L_AnnLoadOffset, and L_AnnClipboardReady, a local HANNOBJECT variable (TmpContainer) is updated with the handle of the incoming annotations. This HANNOBJECT is then inserted into hContainer, the root container. Since hContainer already has a window handle set and an automation object associated with it, full automated interaction with the newly added annotations is provided.
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