Processes each annotation object from the LAnnPolyline::EnumerateHandles function.
virtual L_INT LAnnPolyline::EnumHandleCallBack(hObject, pHandleInfo)
Handle of the annotation object being processed.
Pointer to structure that contains information about the annotation object handle.
|SUCCESS_CHANGE|| Change the object|
|SUCCESS_NOCHANGE|| Do not change the object|
The LAnnPolyline::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 LAnnPolyline::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.
For more information, refer to ANNHANDLEINFO.
For an example, refer to LAnnPolyline::EnumerateHandles.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries