Version

GetBounds(Matrix,Pen) Method

Returns a rectangle that bounds this CarouselPath when the current path is transformed by the specified System.Drawing.Drawing2D.Matrix and drawn with the specified System.Drawing.Pen.
Syntax
'Declaration
 
Public Overloads Function GetBounds( _
   ByVal matrix As Matrix, _
   ByVal pen As Pen _
) As RectangleF
public RectangleF GetBounds( 
   Matrix matrix,
   Pen pen
)

Parameters

matrix
The System.Drawing.Drawing2D.Matrix that specifies a transformation to be applied to this path before the bounding rectangle is calculated. This path is not permanently transformed; the transformation is used only during the process of calculating the bounding rectangle.
pen
The System.Drawing.Pen with which to draw the CarouselPath.

Return Value

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

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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