Nevron .NET Vision
Nevron.Diagram Namespace / INXCoordinateSnapper Interface / SnapX Method
x coordinate to snap
snap context
snapped X coordinate


In This Topic
    SnapX Method (INXCoordinateSnapper)
    In This Topic
    Tries to snap the specified X coordinate
    Syntax
    'Declaration
     
    
    Function SnapX( _
       ByVal x As System.Single, _
       ByVal context As NSnapContext, _
       ByRef snappedX As System.Single _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As INXCoordinateSnapper
    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)
    System.bool SnapX( 
       System.float x,
       NSnapContext context,
       ref System.float snappedX
    )

    Parameters

    x
    x coordinate to snap
    context
    snap context
    snappedX
    snapped X coordinate

    Return Value

    true if successfully snapped, 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