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

    Builds an Code93ExtendedOptions object. Use chained builder methods to configure barcode settings, then call the Build method to create the options object.

    Namespace: DevExpress.Docs.Barcode

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

    Declaration

    public class Code93ExtendedOptionsBuilder :
        BarcodeOptionsBuilder<Code93ExtendedOptions, Code93ExtendedOptionsBuilder>

    The following members return Code93ExtendedOptionsBuilder objects:

    Remarks

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

    DevExpress Barcode Generator - Code 93 Extended barcode

    using DevExpress.Docs.Barcode;
    using DevExpress.Drawing;
    using System.Drawing;
    
    var code93ExtOptions = code93ExtOptionsBuilder.Create()
        .WithShowText(true)
        .WithPadding(5)
        .WithBorderWidth(1)
        .WithCalculateChecksum(true)
        .Build();
    
    using var code93ExtOptionsStream = new FileStream(Path.Combine(outDir, "barcode_symbology_code93_extended.png"), FileMode.Create, FileAccess.Write);
    using var code93ExtOptionsGenerator = new BarcodeGenerator(code93ExtOptions);
    
    code93ExtOptionsGenerator.Export("Code93 ext: abcXYZ!?", code93ExtOptionsStream, DXImageFormat.Png);
    
    See Also