PaddingInfo(GraphicsUnit) Constructor
In This Article
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
NuGet Package: DevExpress.Data
#Declaration
public PaddingInfo(
GraphicsUnit graphicsUnit
)
#Parameters
Name | Type | Description |
---|---|---|
graphics |
Graphics |
A Graphics |
#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