Skip to main content

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.v24.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