Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NMatrix Structure / InvertRect Method


In This Topic
    InvertRect Method
    In This Topic
    Applies the inverted transform to the specified rectangle
    Syntax
    'Declaration
     
    
    Public Function InvertRect( _
       ByVal rect As NRectangle _
    ) As NRectangle
    'Usage
     
    
    Dim instance As NMatrix
    Dim rect As NRectangle
    Dim value As NRectangle
     
    value = instance.InvertRect(rect)
    public NRectangle InvertRect( 
       NRectangle rect
    )

    Parameters

    rect
    Remarks
    This method should only be used for transformations, which have no rotation. It is faster than the InvertBounds method, since it only untransforms two points (LeftTop and RightBottom) and constructs a new rectangle based on them.
    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