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

Declaration

public PaddingInfo(
    GraphicsUnit graphicsUnit
)
Public Sub New(
    graphicsUnit As 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