Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BarCode.Paddings Property

Gets the padding settings of a bar code image.

Namespace: DevExpress.BarCodes

Assembly: DevExpress.Docs.v24.2.dll

NuGet Package: DevExpress.Document.Processor

#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