AnnHitTestExt method (Annotation Control)

C++ Builder example

Delphi example

 

Builder Syntax

int AnnHitTestExt(HANNOBJECT hContainer, double dX, double dY)

Delphi Syntax

AnnHitTestExt (hContainer: HANNOBJECT; dX: L_DOUBLE; dY: L_DOUBLE ): L_INT

Overview

Refer to Implementing Annotations.

Remarks

This method encapsulates the AnnHitTest, which gets the handle to the annotation object that is located at a specific point. (If objects overlap, it gets the front object.) AnnHitTestExt gets additional information about the annotation object handle if the handle is a default or user-defined handle. This additional information can be found in the AnnHandleIndex property and the AnnHandleID property.

See Also

Elements:

AnnHandleIndex property, AnnHandleID property, AnnPositionResult property, AnnObjectHitHandle property, AnnCreateItem method, AnnCut method, AnnGetContainer method, AnnGetTopContainer method, AnnInsert method, AnnRemove method

Topics:

Annotations: Object Manipulation

 

Displaying and Manipulating Annotation Objects

 

Annotations (Document/Medical only): Using Window Coordinates to Select Objects

 

Annotations (Document/Medical only): Implementing Automation

 

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