Nevron.Diagram.WinForm Namespace / NHorizontalRuler Class / SnapX Method


In This Topic
    SnapX Method (NHorizontalRuler)
    In This Topic
    Syntax
    'Declaration
     
    
    Public Overridable Function SnapX( _
       ByVal x As System.Single, _
       ByVal context As NSnapContext, _
       ByRef snappedX As System.Single _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NHorizontalRuler
    Dim x As System.Single
    Dim context As NSnapContext
    Dim snappedX As System.Single
    Dim value As System.Boolean
     
    value = instance.SnapX(x, context, snappedX)
    public virtual System.bool SnapX( 
       System.float x,
       NSnapContext context,
       ref System.float snappedX
    )

    Parameters

    x
    context
    snappedX
    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