Skip to main content
A newer version of this page is available. .

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

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