Nevron Open Vision Documentation
Nevron.Nov.Diagram Namespace / NSnapAndGlue Class / SnapBounds Method
bounds to snap (in drawing coordinates)


In This Topic
    SnapBounds Method
    In This Topic
    Snaps the specified bounds sides (in drawing coordinates) to guides, grid and rules of the active page.
    Syntax
    'Declaration
     
    
    Public Overridable Function SnapBounds( _
       ByVal bounds As NRectangle _
    ) As NRectangle
    'Usage
     
    
    Dim instance As NSnapAndGlue
    Dim bounds As NRectangle
    Dim value As NRectangle
     
    value = instance.SnapBounds(bounds)
    public virtual NRectangle SnapBounds( 
       NRectangle bounds
    )

    Parameters

    bounds
    bounds to snap (in drawing coordinates)

    Return Value

    snapped bounds (in drawing coordinates)
    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