[]
        
(Showing Draft Content)

GrapeCity.Documents.Drawing.IPath.GetBounds

GetBounds Method

GetBounds()

Returns a rectangle that bounds this IPath.

Declaration
RectangleF GetBounds()
Function GetBounds() As RectangleF
Returns
Type Description
RectangleF

A RectangleF that represents a rectangle that bounds this IPath.

GetBounds(Matrix3x2)

Returns a rectangle that bounds this IPath when this path is transformed by the specified Matrix3x2.

Declaration
RectangleF GetBounds(Matrix3x2 worldTransform)
Function GetBounds(worldTransform As Matrix3x2) As RectangleF
Parameters
Type Name Description
Matrix3x2 worldTransform

The transform to apply to this path before calculating its bounds.

Returns
Type Description
RectangleF

A RectangleF that represents a rectangle that bounds this IPath.