Nevron .NET Vision
Nevron.GraphicsCore Namespace / NMatrix2DD Structure / TransformRect Method / TransformRect(RectangleF) Method


In This Topic
    TransformRect(RectangleF) Method
    In This Topic
    Transforms the specified rectangle
    Syntax
    'Declaration
     
    
    Public Overloads Function TransformRect( _
       ByVal rect As System.Drawing.RectangleF _
    ) As System.Drawing.RectangleF
    'Usage
     
    
    Dim instance As NMatrix2DD
    Dim rect As System.Drawing.RectangleF
    Dim value As System.Drawing.RectangleF
     
    value = instance.TransformRect(rect)
    public System.Drawing.RectangleF TransformRect( 
       System.Drawing.RectangleF rect
    )

    Parameters

    rect
    Remarks
    This method should only be used for transformations which have no rotation (like the WorldToView transform). It is faster than the TransformBounds method, since it only transforms two points (LeftTop and RightBottom) and constructs a new rectangle based on them.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also