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.v20.2.dll

Declaration

public SizeF Deflate(
    SizeF size,
    float dpi
)
Public Function Deflate(
    size As SizeF,
    dpi As Single
) As SizeF

Parameters

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.

Returns

Type Description
SizeF

A SizeF value that represents the deflated size.

Remarks

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