AnnEnumerateHandle method (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short AnnEnumerateHandle (long hObject);

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 OnEnumerateHandle Event is fired, if the EnableFireEnumerateHandleEvent property has been set to VARIANT_TRUE. The EnumerateHandles event receives a pointer to an ILEADRasterAnnHandleInfo structure that contains information about the handle. The following elements may contain information about the handle:

Type property (ILEADRasterAnnHandleInfo)

ID property (ILEADRasterAnnHandleInfo)

Index property (ILEADRasterAnnHandleInfo)

ContainerX property (ILEADRasterAnnHandleInfo)

ContainerY property (ILEADRasterAnnHandleInfo)

ClientX property (ILEADRasterAnnHandleInfo)

ClientY property (ILEADRasterAnnHandleInfo)

EnableVisible property (ILEADRasterAnnHandleInfo)

PenColor property (ILEADRasterAnnHandleInfo)

FillColor property (ILEADRasterAnnHandleInfo)

Shape property (ILEADRasterAnnHandleInfo)

hCursor property (ILEADRasterAnnHandleInfo)

Totalhandles property (ILEADRasterAnnHandleInfo)

To discontinue generating OnEnumerateHandle event, set the StopFireEnumerateHandleEvent property to VARIANT_TRUE.

See Also

Elements:

EnableFireEnumerateHandleEvent property, StopFireEnumerateHandleEvent property, OnEnumerateHandle Event, Type property (ILEADRasterAnnHandleInfo), ID property (ILEADRasterAnnHandleInfo), Index property (ILEADRasterAnnHandleInfo), ContainerX property (ILEADRasterAnnHandleInfo), ContainerY property (ILEADRasterAnnHandleInfo), ClientX property (ILEADRasterAnnHandleInfo), ClientY property (ILEADRasterAnnHandleInfo), EnableVisible property (ILEADRasterAnnHandleInfo), PenColor property (ILEADRasterAnnHandleInfo), FillColor property (ILEADRasterAnnHandleInfo), Shape property (ILEADRasterAnnHandleInfo), hCursor property (ILEADRasterAnnHandleInfo), Totalhandles property (ILEADRasterAnnHandleInfo)

Topics:

Annotations (Document/Medical only): Object Manipulation

 

Annotations (Document/Medical only): Creating Custom Annotations

 

Displaying and Manipulating Annotation Objects