AnnEnumerateHandles method (Annotation Control)

C++ Builder example

Delphi example

 

Builder Syntax

int AnnEnumerateHandles(HANNOBJECT hObject)

Delphi Syntax

AnnEnumerateHandles (hObject: HANNOBJECT): L_INT

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)

ID 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

Elements:

AnnEnableEnumerateHandlesEvent property, OnAnnEnumerateHandles, AnnType property (TAnnHandleInfo), ID 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), AnnCreateItem method, AnnCut method, AnnGetContainer method, AnnGetTopContainer method, AnnInsert method, AnnRemove method

Topics:

Annotations: Object Manipulation

 

Annotations (Document/Medical only): Implementing Automation

 

Annotations (Document/Medical only): Creating and Deleting Annotations

 

Displaying and Manipulating Annotation Objects