OnAnnEnumerateHandles Event (Annotation Control)
Builder Syntax |
TAnnEnumerateHandlesEvent OnAnnEnumerateHandles= int __fastcall (__closure *TAnnEnumerateHandlesEvent)( HANNOBJECT hObject, TAnnHandleInfo* AnnHandleInfo) |
Delphi Syntax |
TAnnEnumerateHandlesEvent OnAnnEnumerateHandles = Function (hObject: HANNOBJECT; AnnHandleInfo: AnnHandleInfo): L_INT of object |
Overview |
Refer to Implementing Annotations. |
Remarks
Occurs for each handle enumerated by the AnnEnumerateHandles method.
The AnnHandleInfo parameter 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 handle that can be changed within this event are:
ID property
Visible property
PenColor property
FillColor property
Shape property
Cursor property
See Also