Skip to main content

PaddingInfo(Int32, Int32, Int32, Int32, GraphicsUnit) Constructor

Initializes a new instance of the PaddingInfo class with the specified left, right, top and bottom values, and the dpi of the specified graphics unit.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Data.v23.2.dll

NuGet Package: DevExpress.Data

Declaration

public PaddingInfo(
    int left,
    int right,
    int top,
    int bottom,
    GraphicsUnit graphicsUnit
)

Parameters

Name Type Description
left Int32

An integer value that specifies the left value of the padding. This value is assigned to the PaddingInfo.Left property.

right Int32

An integer value that specifies the right value of the padding. This value is assigned to the PaddingInfo.Right property.

top Int32

An integer value that specifies the top value of the padding. This value is assigned to the PaddingInfo.Top property.

bottom Int32

An integer value that specifies the bottom value of the padding. This value is assigned to the PaddingInfo.Bottom property.

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.

See Also