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
NuGet Package: DevExpress.Data
#Declaration
public PaddingInfo(
int left,
int right,
int top,
int bottom,
GraphicsUnit graphicsUnit
)
#Parameters
Name | Type | Description |
---|---|---|
left | Int32 | An integer value that specifies the left value of the padding. This value is assigned to the Padding |
right | Int32 | An integer value that specifies the right value of the padding. This value is assigned to the Padding |
top | Int32 | An integer value that specifies the top value of the padding. This value is assigned to the Padding |
bottom | Int32 | An integer value that specifies the bottom value of the padding. This value is assigned to the Padding |
graphics |
Graphics |
A Graphics |
#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.