AnnDeleteUserHandle method (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short AnnDeleteUserHandle (long hObject, long uIndex);

Overview

Refer to Implementing Annotations.

Remarks

Deletes an existing user-defined annotation handle.

Set uIndex to -1 to delete all the user-defined handles for annotation object hObject.

To change an existing user handle, call the AnnGetUserHandle method to get the current handle information. The AnnGetUserHandle method updates the AnnHandle property with the annotation handle information for the specified handle. Set the desired values in the AnnHandle property and then call the AnnChangeUserHandle method.

To add a new user handle to an annotation object, set the AnnHandle property with the desired handle information, and then call the AnnAddUserHandle method.

See Also

Elements:

AnnHandle property, AnnGetUserHandle method, AnnAddUserHandle method, AnnChangeUserHandle method, ID property, ContainerX property, ContainerY property, ClientX property, ClientY property, EnableVisible property, PenColor property, FillColor property, Shape property, hCursor property, Flags property

Topics:

Annotations (Document/Medical only): Object Manipulation

 

Annotations (Document/Medical only): Creating Custom Annotations