NevronOpenVision
Nevron.Nov.Diagram Namespace / NSnapAndGlue Class / SnapYToGuidelines Method
coordinate to snap
area around guideline for snapping
the result of snapping
In This Topic
    SnapYToGuidelines Method
    In This Topic
    Tries to snaps an Y coordinate to a horizontal guideline coordinate.
    Syntax
    public System.bool SnapYToGuidelines( 
       NPage activePage,
       System.double y,
       System.double snapArea,
       out System.double snappedY
    )

    Parameters

    activePage
    y
    coordinate to snap
    snapArea
    area around guideline for snapping
    snappedY
    the result of snapping

    Return Value

    true if snapping succeeded, otherwise false
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also