Spread Windows Forms 10.0 Product Documentation
HitTest Method (Chart2DRenderer)


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
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

Chart2DRenderer Class
Chart2DRenderer Members

 

 


Copyright © GrapeCity, inc. All rights reserved.