BrickStyle.DeflateBorderWidth(RectangleF, Single, Boolean) Method
In This Article
Deflates the specified rectangle by the width of borders represented by this brick style, and optionally applies the current border style.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Printing.v24.2.Core.dll
NuGet Package: DevExpress.Printing.Core
#Declaration
public RectangleF DeflateBorderWidth(
RectangleF rect,
float dpi,
bool applyBorderStyle
)
#Parameters
Name | Type | Description |
---|---|---|
rect | Rectangle |
A Rectangle |
dpi | Single | A Single value which specifies the dpi value to be applied to the width of borders before deflating. |
apply |
Boolean | true to apply the current border style; otherwise, false. The current border style can be accessed via the Brick |
#Returns
Type | Description |
---|---|
Rectangle |
A Rectangle |
See Also