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.v24.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
left | Int32 | An integer value that specifies the left value of the padding. This value is assigned to the PaddingInfo.Left property. |
right | Int32 | An integer value that specifies the right value of the padding. This value is assigned to the PaddingInfo.Right property. |
top | Int32 | An integer value that specifies the top value of the padding. This value is assigned to the PaddingInfo.Top property. |
bottom | Int32 | An integer value that specifies the bottom value of the padding. This value is assigned to the PaddingInfo.Bottom property. |
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
PlatformNotSupportedException
is thrown on other operating systems. Use the PaddingInfo(Int32, Int32, Int32, Int32, Single) constructor in non-Windows environments.