LAnnContainer::EnumerateCallBack (original) (raw)
Summary
Processes each annotation object from the LAnnContainer::Enumerate function.
Syntax
#include "ltwrappr.h"
virtual L_INT LAnnContainer::EnumerateCallBack(hObject)
Parameters
HANNOBJECT hObject
Handle of the object to be processed.
Returns
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
Comments
The LAnnContainer::Enumerate function calls this callback function as it gets the handle of each annotation object.
Override this callback function in order to be called when enumerating container objects.
You can attach hObject to an LAnnotation class object and call LAnnotation::GetType to determine the annotation object type.
Required DLLs and Libraries
- LTANN
- For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.
Platforms
Win32, x64.
See Also
Functions
Topics
- Annotation Functions: Creating and Deleting Annotations
- Annotation Functions: Object Information
- Implementing Annotations
Example
For an example, refer to LAnnContainer::Enumerate.
LEADTOOLS Raster Imaging C++ Class Library Help