Spread Windows Forms 11.0 Product Documentation
HitTest Method (Chart2DRenderer)


FarPoint.Win.Chart Assembly > FarPoint.Win.Chart Namespace > Chart2DRenderer Class : HitTest Method
Graphics context
Area where to get the hit test information
Chart model
X-coordinate
Y-coordinate
Gets hit test information.
Syntax
'Declaration
 
Public Function HitTest( _
   ByVal g As Graphics, _
   ByVal rectangle As RectangleF, _
   ByVal model As ChartModel, _
   ByVal x As Single, _
   ByVal y As Single _
) As HitTest
'Usage
 
Dim instance As Chart2DRenderer
Dim g As Graphics
Dim rectangle As RectangleF
Dim model As ChartModel
Dim x As Single
Dim y As Single
Dim value As HitTest
 
value = instance.HitTest(g, rectangle, model, x, y)
public HitTest HitTest( 
   Graphics g,
   RectangleF rectangle,
   ChartModel model,
   float x,
   float y
)

Parameters

g
Graphics context
rectangle
Area where to get the hit test information
model
Chart model
x
X-coordinate
y
Y-coordinate

Return Value

A HitTest object that contains hit test information
See Also

Reference

Chart2DRenderer Class
Chart2DRenderer Members