Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.11.1
LEADTOOLS Raster Imaging C DLL Help

Loading and Pasting Automated Annotations

Show in webframe

There are two examples for loading annotations and copying annotations from the clipboard in an automated annotation program.

1. 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.

2. 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.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.