VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Drawing Namespace / IGraphicsPath Interface / GetBounds Methods / GetBounds(IDrawingPen,AffineMatrix) Method
Syntax Requirements SeeAlso
In This Topic
    GetBounds(IDrawingPen,AffineMatrix) Method (IGraphicsPath)
    In This Topic
    Returns a rectangle that bounds this graphics path.
    Syntax
    'Declaration
    
    Public Overloads Function GetBounds( _
    ByVal pen
    A IDrawingPen that should be used for drawing of the IGraphicsPath.
    As IDrawingPen, _
    ByVal transform
    The AffineMatrix that specifies a transformation to be applied to this path before the bounding rectangle is calculated.
    As Vintasoft.Imaging.AffineMatrix _
    ) As System.Drawing.RectangleF

    Parameters

    pen
    A IDrawingPen that should be used for drawing of the IGraphicsPath.
    transform
    The AffineMatrix that specifies a transformation to be applied to this path before the bounding rectangle is calculated.

    Return Value

    A System.Drawing.RectangleF that represents a rectangle that bounds this graphics path.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also