ImageGear Professional v18.2 > API Reference Guide > ART Component API Reference > ART Component Objects > IGArtPage Object > IGArtPage Methods > MarkHitTest Method |
Returns the Index of the mark located at the screen position [x, y]. If there are no marks at [x,y], the return value from this method is -1.
MarkHitTest(XPos As Long, YPos As Long) As Long
Name | Description |
---|---|
XPos | Screen X Position to test. |
YPos | Screen Y Position to test. |
Index of the mark at the specified coordinates, or -1 if there is none.
N/A
None