Returns information about the chart item that is placed in the specified coordinates.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Function HitTest( _
ByVal x As Integer, _
ByVal y As Integer _
) As HitTest |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As SharpGraph
Dim x As Integer
Dim y As Integer
Dim value As HitTest
value = instance.HitTest(x, y)
|
Parameters
- x
- The specified X axis coordinate.
- y
- The specified Y axis coordinate.
Return Value
A reference to HitTestInfo or null if the item is not found.
Remarks
See Also