Nevron .NET Vision
Nevron.Diagram.WinForm Namespace / NHandle Class / HitTest Method / HitTest(NPointF,NHitTestContext) Method
point in scene coordinates
context to use


In This Topic
    HitTest(NPointF,NHitTestContext) Method
    In This Topic
    Hit tests the handle by point with the specified context
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Function HitTest( _
       ByVal point As NPointF, _
       ByVal context As NHitTestContext _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NHandle
    Dim point As NPointF
    Dim context As NHitTestContext
    Dim value As System.Boolean
     
    value = instance.HitTest(point, context)
    public virtual System.bool HitTest( 
       NPointF point,
       NHitTestContext context
    )

    Parameters

    point
    point in scene coordinates
    context
    context to use

    Return Value

    true if the handle was hit, otherwise false
    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