AnnHitTest method (Main Control)
Visual Basic
example
Visual
C++ 4.0 example
Syntax short AnnHitTest(OLE_HANDLE hContainer, float x, float y, OLE_HANDLE * hObjectHit);
Overview: Refer to Implementing Annotations.
Remarks
(Document/Medical only) Gets the handle to the annotation object that is located at a specified point. If objects overlap, this method gets the front object.
See Also
Elements: AnnSelectRect method, AnnSelectRectLeft property, AnnSelectRectTop property, AnnSelectRectWidth property, AnnSelectRectHeight property, AnnSelectPoint method