BarcodeOptions.Padding Property
Gets or sets bar code image paddings.
Namespace: DevExpress.Docs.Barcode
Assembly: DevExpress.Docs.Core.v26.1.dll
Declaration
Property Value
| Type | Description |
|---|---|
| Padding | A Padding object that contains padding settings. |
Property Paths
You can access this nested property as listed below:
| Object Type | Path to Padding |
|---|---|
| BarcodeGenerator |
|
Remarks
Paddings in a barcode image are the spaces between the barcode and the inner edges of the frame that contains it. Use BarcodeOptions.BorderWidth and BarcodeOptions.BorderColor to display the frame border.
If the BarCode.AutoSize is set to AutoSize, the Paddings and BarcodeOptions.Margin settings add a white space to the image, increasing its dimensions.
Use the Padding.Left, Padding.Right, Padding.Top and Padding.Bottom properties to define paddings in the bar code image.
See Also