Nevron .NET Vision
Nevron.Diagram.WinForm Namespace / NSnapManager Class / SnapYCoordinate Method
y coordinate to snap
objects to which to snap
snapped Y coordinate


In This Topic
    SnapYCoordinate Method
    In This Topic
    Tries to snap the specified Y coordinate. Y coordinates can only be snapped to guidelines, rulers and grid
    Syntax
    'Declaration
     
    
    Protected Overridable Function SnapYCoordinate( _
       ByVal y As System.Single, _
       ByVal snapTo As SnapTargetsMask, _
       ByRef snappedY As System.Single _
    ) As NSnapTarget
    'Usage
     
    
    Dim instance As NSnapManager
    Dim y As System.Single
    Dim snapTo As SnapTargetsMask
    Dim snappedY As System.Single
    Dim value As NSnapTarget
     
    value = instance.SnapYCoordinate(y, snapTo, snappedY)
    protected virtual NSnapTarget SnapYCoordinate( 
       System.float y,
       SnapTargetsMask snapTo,
       out System.float snappedY
    )

    Parameters

    y
    y coordinate to snap
    snapTo
    objects to which to snap
    snappedY
    snapped Y coordinate

    Return Value

    the target to which the coordinate was snapped, or null if the coordinate was not snapped
    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