VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Drawing Namespace / GraphicsPathBase Class / GetBounds Methods / GetBounds(IDrawingPen,AffineMatrix) Method
Syntax Requirements SeeAlso
In This Topic
    GetBounds(IDrawingPen,AffineMatrix) Method (GraphicsPathBase)
    In This Topic
    Returns a rectangle that bounds this graphics path.
    Syntax
    'Declaration
    
    Public Overloads MustOverride Function GetBounds( _
    ByVal pen
    A IDrawingPen with which to draw 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 with which to draw 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