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

    Contains options specific to Code39 Extended symbology.

    Namespace: DevExpress.Docs.Barcode

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

    Declaration

    public class Code39ExtendedOptions :
        Code39Options

    Remarks

    The following code snippet creates an Code 39 Extended barcode and customizes its options:

    DevExpress Barcode Generator - Code 39 Extended barcode

    using DevExpress.Docs.Barcode;
    using DevExpress.Drawing;
    using System.Drawing;
    
    var code39ExtOptions = new Code39ExtendedOptions();
    code39ExtOptions.ShowText = true;
    code39ExtOptions.Padding = new Padding(5);
    code39ExtOptions.BorderWidth = 1;
    code39ExtOptions.WideNarrowRatio = 3.0f;
    code39ExtOptions.CalculateChecksum = true;
    
    using var code39ExtOptionsStream = new FileStream(Path.Combine(outDir, "barcode_symbology_code39_extended.png"), FileMode.Create, FileAccess.Write);
    using var code39ExtOptionsGenerator = new BarcodeGenerator(code39ExtOptions);
    
    code39ExtOptionsGenerator.Export("Code39 ext: !@#$%", code39ExtOptionsStream, DXImageFormat.Png);
    

    Inheritance

    See Also