LAnnCurveClosed::EnumHandleCallBack

#include "ltwrappr.h"

virtual L_INT LAnnCurveClosed::EnumHandleCallBack(hObject, pHandleInfo)

Processes each annotation object from the LAnnCurveClosed::EnumerateHandles function.

Parameters

HANNOBJECT hObject

Handle of the annotation object being processed.

pANNHANDLEINFO pHandleInfo

Pointer to structure that contains information about the annotation object handle.

Returns

Value Meaning
SUCCESS_CHANGE [1] Change the object
SUCCESS_NOCHANGE [2] Do not change the object

Comments

The LAnnCurveClosed::EnumerateHandles function calls your callback function for each handle of a single annotation object.

The pHandleInfo structure can be used to obtain detailed information about an annotation object handle. It can also be used to change some (but not all) of the properties of a user handle. All properties of an annotation object handle can be changed EXCEPT the location. The properties of a node that can be changed with this function are:

To change the location of a user-defined node, use LAnnCurveClosed::ChangeUserHandle.

To change the properties of an annotation object handle, set the corresponding field in the pHandleInfo structure, and return SUCCESS_CHANGED. To leave the handle properties unchanged, return SUCCESS_UNCHANGED.

To enable the LAnnCurveClosed::EnumHandleCallBack you must call LBase::EnableCallBack before calling LAnnCurveClosed::EnumerateHandles function.

For more information, refer to the documentation for ANNHANDLEINFO.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For an example, refer to LAnnCurveClosed::EnumerateHandles.

Help Version 20.0.2020.4.5
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help