AnnEnumerateHandles method (Annotation Control)
Builder Syntax |
|
Delphi Syntax |
|
Overview |
Refer to Implementing Annotations. |
Remarks
Enumerates all handles contained in hObject.
Use this method to get information about all annotation handles for an annotation object.
For each handle enumerated by this method, the OnAnnEnumerateHandles event is fired, if the AnnEnableEnumerateHandlesEvent property has been set to TRUE. The EnumerateHandles event receives a pointer to a TAnnHandleInfo class object that contains information about the handle. The following elements may contain information about the handle:
AnnType property (TAnnHandleInfo)
Index property (TAnnHandleInfo)
ContainerX property (TAnnHandleInfo)
ContainerY property (TAnnHandleInfo)
ClientX property (TAnnHandleInfo)
ClientY property (TAnnHandleInfo)
Visible property (TAnnHandleInfo)
PenColor property (TAnnHandleInfo)
FillColor property (TAnnHandleInfo)
Shape property (TAnnHandleInfo)
Cursor property (TAnnHandleInfo)
TotalHandles property (TAnnHandleInfo)
To discontinue generating OnAnnEnumerateHandles event, set the AnnEnableEnumerateHandlesEvent property to FALSE.
See Also