Skip to main content

PaddingInfo.Deflate(SizeF, Single) Method

Deflates the specified size by the size of the current padding with the specified dpi.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Data.v22.1.dll


public SizeF Deflate(
    SizeF size,
    float dpi


Name Type Description
size SizeF

A SizeF value which specifies the size to be deflated.

dpi Single

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


Type Description

A SizeF value that represents the deflated size.


The Deflate method subtracts the PaddingInfo.Left, PaddingInfo.Top, PaddingInfo.Right and PaddingInfo.Bottom property values from the left, top, right and bottom values of the specified size, respectively.

See Also