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

PaddingInfo.DeflateHeight(Single, Single) Method

Deflates 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 DeflateHeight(
    float height,
    float dpi
)
Public Function DeflateHeight(
    height As Single,
    dpi As Single
) As Single

Parameters

Name Type Description
height Single

A Single value which specifies the height to be deflated.

dpi Single

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

Returns

Type Description
Single

A Single value that represents the deflated height.

Remarks

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

See Also