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.

Platforms

Win32, x64.

See Also

Functions:

Class Members

Topics:

Annotation Functions: Creating and Deleting Annotations

 

Annotation Functions: Object Information

 

Implementing Annotations

Example

For an example, refer to LAnnContainer::Enumerate.