VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Drawing Namespace / GraphicsPathWrapper Class / GetBounds Methods / GetBounds(IDrawingPen,AffineMatrix,DrawingLineCap,DrawingLineCap) Method
Syntax Requirements SeeAlso
In This Topic
GetBounds(IDrawingPen,AffineMatrix,DrawingLineCap,DrawingLineCap) Method (GraphicsPathWrapper)
In This Topic
Returns a rectangle that bounds this graphics path.
Syntax
'Declaration

Public Overloads Overridable 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, _
ByVal startCap
A line cap that should be used for drawing of start cap of line.
As DrawingLineCap, _
ByVal endCap
A line cap that should be used for drawing of end cap of line.
As DrawingLineCap _
) 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.
startCap
A line cap that should be used for drawing of start cap of line.
endCap
A line cap that should be used for drawing of end cap of line.

Return Value

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

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

See Also