Skip to main content
.NET Framework 4.5.2+

BarCode.Margins Property

Provides access to margin widths set for a bar code image.

Namespace: DevExpress.BarCodes

Assembly: DevExpress.Docs.v22.2.dll


public BarCodeMargins Margins { get; }

Property Value

Type Description

A BarCodeMargins object containing margin widths for a bar code image.


If the BarCode.AutoSize is set to true, the Margins only affects the printout and PDF export.

Use the BarCodeMargins.Left, BarCodeMargins.Right, BarCodeMargins.Top and BarCodeMargins.Bottom properties to define margins for the bar code image.

See Also