Back to Devexpress

BarCode.Paddings Property

officefileapi-devexpress-dot-barcodes-dot-barcode-937eb3ab.md

latest2.2 KB
Original Source

BarCode.Paddings Property

Gets the padding settings of a bar code image.

Namespace : DevExpress.BarCodes

Assembly : DevExpress.Docs.v25.2.dll

NuGet Package : DevExpress.Document.Processor

Declaration

csharp
public BarCodePadding Paddings { get; }
vb
Public ReadOnly Property Paddings As BarCodePadding

Property Value

TypeDescription
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

BarCode Class

BarCode Members

DevExpress.BarCodes Namespace