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.v21.1.dll

Declaration

public SizeF Inflate(
    SizeF size,
    float dpi
)

Parameters

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.

Returns

Type Description
SizeF

A SizeF value that represents the inflated size.

Remarks

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