PaddingInfo(Int32, Int32, Int32, Int32, GraphicsUnit) Constructor
Initializes a new instance of the PaddingInfo class with the specified left, right, top and bottom values, and the dpi of the specified graphics unit.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Data.v25.1.dll
NuGet Package: DevExpress.Data
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| left | Int32 | An integer value that specifies the left value of the padding. This value is assigned to the |
| right | Int32 | An integer value that specifies the right value of the padding. This value is assigned to the |
| top | Int32 | An integer value that specifies the top value of the padding. This value is assigned to the |
| bottom | Int32 | An integer value that specifies the bottom value of the padding. This value is assigned to the |
| graphicsUnit | GraphicsUnit | A GraphicsUnit value that specifies the graphics unit of the padding. The dpi value of the graphics unit is assigned to the PaddingInfo.Dpi property. |
Remarks
This constructor uses GDI/GDI+ rendering and works only on Windows OS. The
PlatformNotSupportedExceptionis thrown on other operating systems. Use the PaddingInfo(Single, Single, Single, Single, Single) constructor in non-Windows environments.