Skip to main content

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.v23.2.dll

NuGet Package: DevExpress.Data

Declaration

public PaddingInfo(
    GraphicsUnit graphicsUnit
)

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.

See Also