Skip to main content
All docs
V26.1
  • BarcodeOptions.Margin Property

    Gets or sets bar code image margins.

    Namespace: DevExpress.Docs.Barcode

    Assembly: DevExpress.Docs.Core.v26.1.dll

    Declaration

    public Padding Margin { get; set; }

    Property Value

    Type Description
    Padding

    Margin widths for a bar code image.

    Property Paths

    You can access this nested property as listed below:

    Object Type Path to Margin
    BarcodeGenerator
    .Options .Margin

    Remarks

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

    Use the Padding.Left, Padding.Right, Padding.Top, and Padding.Bottom properties to define margins for the barcode image.

    See Also