A newer version of this page is available. Switch to the current version.

PaddingInfo.InflateWidth(Single, Single) Method

Inflates 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 InflateWidth(
    float width,
    float dpi
)
Public Function InflateWidth(
    width As Single,
    dpi As Single
) As Single

Parameters

Name Type Description
width Single

A Single value which specifies the width to be inflated.

dpi Single

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

Returns

Type Description
Single

A Single value that represents the inflated width.

Remarks

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

See Also