PaddingInfo(GraphicsUnit) Constructor
Initializes a new instance of the PaddingInfo class with the dpi of the specified graphics unit.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Data.v24.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
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
In this case the PaddingInfo.Left, PaddingInfo.Right, PaddingInfo.Top, and PaddingInfo.Bottom properties will be set to 0
.
This constructor uses GDI/GDI+ rendering and works only on Windows OS. The
PlatformNotSupportedException
is thrown on other operating systems. Use the PaddingInfo(Int32, Single) constructor in non-Windows environments.
See Also