Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NRectangleI Structure / FitRectangle Method


In This Topic
    FitRectangle Method (NRectangleI)
    In This Topic
    Returns the fitted rectangle with the specified orientation (in degrees)
    Syntax
    'Declaration
     
    
    Public Shared Function FitRectangle( _
       ByVal rect As NRectangleI, _
       ByVal orientation As System.Double _
    ) As NRectangleI
    'Usage
     
    
    Dim rect As NRectangleI
    Dim orientation As System.Double
    Dim value As NRectangleI
     
    value = NRectangleI.FitRectangle(rect, orientation)
    public static NRectangleI FitRectangle( 
       NRectangleI rect,
       System.double orientation
    )

    Parameters

    rect
    orientation
    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