A newer version of this page is available.
Switch to the current version.
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.v18.2.dll
Declaration
public SizeF Inflate(
SizeF size,
float dpi
)
Public Function Inflate(
size As SizeF,
dpi As Single
) As SizeF
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
Feedback