LEADTOOLS Raster Imaging C++ Class Library Help > Classes and Member Functions > LAnnContainer > LAnnContainer Member Functions > LAnnContainer::EnumerateCallBack |
#include "ltwrappr.h"
virtual L_INT LAnnContainer::EnumerateCallBack(hObject)
HANNOBJECT hObject; |
/* handle of the object to be processed */ |
Processes each annotation object from the LAnnContainer::Enumerate function.
Parameter |
Description |
hObject |
Handle of the object to be processed. |
Returns
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. |
Win32, x64.
See Also
Functions: |
|
Topics: |
|
|
|
|
Example
For an example, refer to LAnnContainer::Enumerate.