Nevron Open Vision Documentation
Nevron.Nov.Diagram Namespace / NSnapAndGlue Class / SnapXToGuidelines Method
coordinate to snap
area around guideline for snapping
the result of snapping
In This Topic
    SnapXToGuidelines Method
    In This Topic
    Tries to snaps a X coordinate to a vertical guideline coordinate.
    Syntax
    public System.bool SnapXToGuidelines( 
       NPage activePage,
       System.double x,
       System.double snapArea,
       out System.double snappedX
    )

    Parameters

    activePage
    x
    coordinate to snap
    snapArea
    area around guideline for snapping
    snappedX
    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