AnnDeleteUserHandle method (Annotation Control)

C++ Builder example

Delphi example

 

Builder Syntax

int AnnDeleteUserHandle(HANNOBJECT hObject, int uIndex)

Delphi Syntax

AnnDeleteUserHandle (hObject: HANNOBJECT; uIndex: L_INT32): L_INT

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, 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