Skip to main content
All docs
V26.1
  • PDF417Options Class

    Contains options specific to PDF417 symbology.

    Namespace: DevExpress.Docs.Barcode

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

    Declaration

    public class PDF417Options :
        BarcodeOptions

    Remarks

    The following code snippet creates the PDF417 barcode and specifies its settings:

    DevExpress Barcode Generator - PDF417 barcode

    using DevExpress.Docs.Barcode;
    using DevExpress.Drawing;
    using System.Drawing;
    
    var pdf417Options = new PDF417Options();
    pdf417Options.Columns = 3;
    pdf417Options.TruncateSymbol = false;
    pdf417Options.ErrorCorrectionLevel = PDF417ErrorCorrectionLevel.Level2;
    pdf417Options.BackColor = Color.LightGray;
    pdf417Options.ShowText = false;
    pdf417Options.Padding = new Padding(5);
    pdf417Options.BorderWidth = 1;
    pdf417Options.BorderColor = Color.Blue;
    
    using var pdf417OptionsStream = new FileStream(Path.Combine(outDir, "barcode_symbology_pdf417.png"), FileMode.Create, FileAccess.Write);
    using var pdf417OptionsGenerator = new BarcodeGenerator(pdf417Options);
    pdf417OptionsGenerator.Export("PDF417 DEMO 1234567890", pdf417OptionsStream, DXImageFormat.Png);
    

    Inheritance

    See Also