Nevron Open Vision Documentation
Nevron.Nov.Dom Namespace / NPaintVisitor Class / SnapRectangleHP Method


In This Topic
    SnapRectangleHP Method
    In This Topic
    Snaps a rectangle to the half pixel grid.
    Syntax
    'Declaration
     
    
    Public Function SnapRectangleHP( _
       ByVal rect As NRectangle _
    ) As NRectangle
    'Usage
     
    
    Dim instance As NPaintVisitor
    Dim rect As NRectangle
    Dim value As NRectangle
     
    value = instance.SnapRectangleHP(rect)
    public NRectangle SnapRectangleHP( 
       NRectangle rect
    )

    Parameters

    rect
    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