Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
  • The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.

BarCode.Paddings Property

Gets the padding settings of a bar code image.

Namespace: DevExpress.BarCodes

Assembly: DevExpress.Docs.v19.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