Nevron .NET Vision
Nevron.Chart.WinForm Namespace / NChartControl Class / HitTest Method / HitTest(NRectangleF,Boolean) Method
whether hit testing returns only object completely contained withing the rect or object that intersect the rect as well


In This Topic
    HitTest(NRectangleF,Boolean) Method
    In This Topic
    Returns a NHitTestResult object describing the object at the given window rect.
    Syntax
    'Declaration
     
    
    Public Overloads Function HitTest( _
       ByVal rect As NRectangleF, _
       ByVal containOrIntersect As System.Boolean _
    ) As NHitTestResult()
    'Usage
     
    
    Dim instance As NChartControl
    Dim rect As NRectangleF
    Dim containOrIntersect As System.Boolean
    Dim value() As NHitTestResult
     
    value = instance.HitTest(rect, containOrIntersect)
    public NHitTestResult[] HitTest( 
       NRectangleF rect,
       System.bool containOrIntersect
    )

    Parameters

    rect
    containOrIntersect
    whether hit testing returns only object completely contained withing the rect or object that intersect the rect as well
    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