PositionResult property (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

long PositionResult;

Overview

Refer to Implementing Annotations.

Remarks

(Read Only) (Document/Medical only) Gets a value that represents the position on the annotation object that was found at the point specified for the AnnHitTestExt method. Possible values are:

ANN_HIT_NONE [0]

ANN_HIT_BODY [1]

ANN_HIT_HANDLE [2]

ANN_HIT_NAME [3]

ANN_HIT_USER_HANDLE [4]

ANN_HIT_ROTATE_HANDLE [5]

ANN_HIT_MULTISELECT_HANDLE [6]

ANN_HIT_MULTISELECT_ROTATE_HANDLE [7]

ANN_HIT_MULTISELECT_BODY [8]

For example, if the PositionResult property is ANN_HIT_ROTATE_HANDLE, the HandleID property will be either ANN_ROTATE_HANDLE_CENTER_ID [100] or ANN_ROTATE_HANDLE_GRIPPER_ID [101] to identify which rotate handle was hit.

If the PositionResult property is updated with ANN_HIT_HANDLE or ANN_HIT_USER_HANDLE the HandleIndex property and the HandleID property will be updated with extra information about the handle.

See Also

Elements:

HandleIndex property, HandleID property, ObjectHitHandle property, AnnHitTestExt method

Topics:

Annotations (Document/Medical only): Object Manipulation