Skip to main content
A newer version of this page is available. .

BarCode.Margins Property

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

Namespace: DevExpress.BarCodes

Assembly: DevExpress.Docs.v18.2.dll

Declaration

public BarCodeMargins Margins { get; }

Property Value

Type Description
BarCodeMargins

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

Remarks

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