Skip to main content

PaddingInfo.Inflate(SizeF, Single) Method

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

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Data.v22.2.dll

NuGet Package: DevExpress.Data


public SizeF Inflate(
    SizeF size,
    float dpi


Name Type Description
size SizeF

A SizeF value which specifies the size to be inflated.

dpi Single

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


Type Description

A SizeF value that represents the inflated size.


The Inflate method adds 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