.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

BarCode.Paddings Property

Gets the padding settings of a bar code image.

Namespace: DevExpress.BarCodes

Assembly: DevExpress.Docs.v21.1.dll

Declaration

public BarCodePadding Paddings { get; }

Property Value

Type Description
BarCodePadding

A BarCodePadding object that contains padding settings.

Remarks

Paddings in a bar code image are considered to be the amount of space between the inner boundaries of the frame containing the bar code (use the BarCode.BorderWidth and the BarCode.BorderColor to display the frame borders) and the bar code itself.

If the BarCode.AutoSize is set to true, the Paddings and BarCode.Margins settings add white space to the image, increasing its dimensions. If the BarCode.AutoSize is set to false, the image size is fixed and only the Paddings settings are used.

Use the BarCodePadding.Left, BarCodePadding.Right, BarCodePadding.Top and BarCodePadding.Bottom properties to define paddings in the bar code image.

See Also