BrickStyle.InflateBorderWidth(RectangleF, Single) Method

Inflates the specified rectangle by the width of borders represented by this brick style.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Data.v21.2.dll

Declaration

public RectangleF InflateBorderWidth(
    RectangleF rect,
    float dpi
)

Parameters

Name Type Description
rect RectangleF

A RectangleF value which specifies the rectangle to be inflated.

dpi Single

A Single value which specifies the dpi value to be applied to the width of borders before inflating.

Returns

Type Description
RectangleF

A RectangleF value that represents the inflated rectangle.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the InflateBorderWidth(RectangleF, Single) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also