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

PaddingInfo.DeflateWidth(Single, Single) Method

Deflates the specified width value by the width of the current padding with the specified dpi.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Data.v18.2.dll

Declaration

public float DeflateWidth(
    float width,
    float dpi
)

Parameters

Name Type Description
width Single

A Single value which specifies the width to be deflated.

dpi Single

A Single value which specifies the dpi value which should be applied to the left and right padding values before deflating.

Returns

Type Description
Single

A Single value that represents the deflated width.

Remarks

The DeflateWidth method deflates the specified width value by the PaddingInfo.Left and PaddingInfo.Right values, and returns the resulting width.

See Also