Nevron .NET Vision
Nevron.Diagram.WinForm Namespace / NGrid Class / SnapY Method
y coordinate to snap
snap context
snapped Y coordinate

In This Topic
    SnapY Method (NGrid)
    In This Topic
    Tries to snap the specified Y coordinate
    Public Overridable Function SnapY( _
       ByVal y As System.Single, _
       ByVal context As NSnapContext, _
       ByRef snappedY As System.Single _
    ) As System.Boolean
    Dim instance As NGrid
    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)
    public virtual System.bool SnapY( 
       System.float y,
       NSnapContext context,
       ref System.float snappedY


    y coordinate to snap
    snap context
    snapped Y coordinate

    Return Value

    true if successfully snapped, otherwise false

    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