Visual Basic (Declaration) | |
---|---|
Public Overloads Function HitTest( _ ByVal x As Integer, _ ByVal y As Integer, _ ByVal requestedElement As ChartElementType _ ) As HitTestResult |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public HitTestResult HitTest( int x, int y, ChartElementType requestedElement ) |
Parameters
- x
- X coordinate
- y
- Y coordinate
- requestedElement
- Only this chart elements will be hit tested.
Return Value
Hit test result objectTarget 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