BrickStyle.DeflateBorderWidth(RectangleF, Single) Method

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

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Data.v20.2.dll

Declaration

public RectangleF DeflateBorderWidth(
    RectangleF rect,
    float dpi
)
Public Function DeflateBorderWidth(
    rect As RectangleF,
    dpi As Single
) As RectangleF

Parameters

Name Type Description
rect RectangleF

A RectangleF value which specifies the rectangle to be deflated.

dpi Single

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

Returns

Type Description
RectangleF

A RectangleF value that represents the deflated rectangle.

See Also