AnnChangeUserHandle method (Annotation Control)

C++ Builder example

Delphi example

 

Builder Syntax

int AnnChangeUserHandle(HANNOBJECT hObject, unsigned uIndex)

Delphi Syntax

AnnChangeUserHandle (hObject: HANNOBJECT; uIndex: L_UINT32): L_INT

Overview

Refer to Implementing Annotations.

Remarks

Changes properties of an existing user-defined annotation handle.

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.

A user handle can be deleted using the AnnDeleteUserHandle method.

See Also

Elements:

AnnHandle property, AnnGetUserHandle method, AnnAddUserHandle method, AnnDeleteUserHandle 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