AnnAddUserHandle method (Annotation Control)

C++ Builder example

Delphi example

 

Builder Syntax

int AnnAddUserHandle(HANNOBJECT hObject)

Delphi Syntax

AnnAddUserHandle (hObject: HANNOBJECT ): L_INT

Overview

Refer to Implementing Annotations.

Remarks

Adds a user-defined handle to an annotation object.

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.

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.

A user handle can be deleted using the AnnDeleteUserHandle method.

See Also

Elements:

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