AnnGetUserHandle method (Annotation Control)

C++ Builder example

Delphi example

 

Builder Syntax

int AnnGetUserHandle(HANNOBJECT hObject, unsigned uIndex)

Delphi Syntax

Function AnnGetUserHandle (hObject: HANNOBJECT; uIndex: L_UINT32 ): L_INT

Overview

Refer to Implementing Annotations.

Remarks

Gets information about the specified user-defined annotation handle.

This method updates the AnnHandle property with the annotation handle information for the specified handle.

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. 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, AnnAddUserHandle method, AnnChangeUserHandle method, AnnDeleteUserHandle method, ID 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), AnnCreateItem method, AnnCut method, AnnGetContainer method, AnnGetTopContainer method, AnnInsert method, AnnRemove method

Topics:

Annotations (Document/Medical only): Object Manipulation

 

Annotations (Document/Medical only): Implementing Automation

 

Annotations (Document/Medical only): Creating and Deleting Annotations

 

Displaying and Manipulating Annotation Objects