Skip to main content
A newer version of this page is available. .

BrickStyle.InflateBorderWidth(RectangleF, BorderSide, Single) Method

Inflates the specified rectangle by the specified width of specified borders.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Data.v20.2.dll

NuGet Packages: DevExpress.Data, DevExpress.WindowsDesktop.Data

Declaration

public static RectangleF InflateBorderWidth(
    RectangleF rect,
    BorderSide sides,
    float borderWidth
)

Parameters

Name Type Description
rect RectangleF

A RectangleF value which specifies the rectangle to be inflated.

sides BorderSide

A BorderSide enumeration value that specifies which sides of a brick have borders.

borderWidth Single

A Single value which specifies the width of borders.

Returns

Type Description
RectangleF

A RectangleF value that represents the inflated rectangle.

See Also