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

PaddingInfo.InflateHeight(Single, Single) Method

Inflates the specified height value by the height of the current padding with the specified dpi.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Data.v18.2.dll

Declaration

public float InflateHeight(
    float height,
    float dpi
)

Parameters

Name Type Description
height Single

A Single value which specifies the height to be inflated.

dpi Single

A Single value which specifies the dpi value to be applied to the top and bottom padding values before inflating.

Returns

Type Description
Single

A Single value that represents the inflated height.

Remarks

The InflateHeight method inflates the specified height value by the PaddingInfo.Top and PaddingInfo.Bottom values, and returns the resulting height.

See Also