ActiveReports 8
HitTest Method
See Also 
GrapeCity.ActiveReports.Chart.v8 Assembly > GrapeCity.ActiveReports.Chart Namespace > SharpGraph Class : HitTest Method

x
The specified X axis coordinate.
y
The specified Y axis coordinate.

Glossary Item Box

Returns information about the chart item that is placed in the specified coordinates.

Syntax

Visual Basic (Declaration) 
Public Function HitTest( _
   ByVal x As System.Integer, _
   ByVal y As System.Integer _
) As HitTest
C# 
public HitTest HitTest( 
   System.int x,
   System.int 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

Please consider using UIOptions.ForceHitTesting before calling the HitTest method.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also