Nevron .NET Vision
Nevron.Diagram Namespace / INYCoordinateSnapper Interface / SnapY Method
y coordinate to snap
snap context
snapped Y coordinate


In This Topic
    SnapY Method (INYCoordinateSnapper)
    In This Topic
    Tries to snap the specified Y coordinate
    Syntax
    'Declaration
     
    
    Function SnapY( _
       ByVal y As System.Single, _
       ByVal context As NSnapContext, _
       ByRef snappedY As System.Single _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As INYCoordinateSnapper
    Dim y As System.Single
    Dim context As NSnapContext
    Dim snappedY As System.Single
    Dim value As System.Boolean
     
    value = instance.SnapY(y, context, snappedY)
    System.bool SnapY( 
       System.float y,
       NSnapContext context,
       ref System.float snappedY
    )

    Parameters

    y
    y coordinate to snap
    context
    snap context
    snappedY
    snapped Y 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