AnnHitTest method (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short AnnHitTest(long hContainer, float x, float y);

Overview

Refer to Implementing Annotations.

Remarks

(Document/Medical only) Fills the AnnHitTestObject property with the handle to the annotation object that is located at a specified point. If objects overlap, this method gets the front object.

Read the AnnHitTestObject property after calling this method to get the object handle.

See Also

Elements

AnnSelectRect method, AnnSelectRectLeft property, AnnSelectRectTop property, AnnSelectRectWidth property, AnnSelectRectHeight property, AnnSelectPoint method, AnnHitTestObject property

Topics

Annotations (Document/Medical only): Automation

 

Annotations (Document/Medical only): Creating Custom Annotations

 

Displaying and Manipulating Annotation Objects