This method is used for selection and it returns a selected object from x and y coordinates.
Syntax
Visual Basic (Usage) |
Copy Code |
Dim instance As Chart
Dim x As Integer
Dim y As Integer
Dim ignoreTransparent As Boolean
Dim value As HitTestResult
value = instance.HitTest(x, y, ignoreTransparent)
|
Parameters
- x
- X coordinate
- y
- Y coordinate
- ignoreTransparent
- Indicates that transparent elements should be ignored.
Return Value
Hit test result object
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also