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

    Contains options specific to the Aztec Code symbology.

    Namespace: DevExpress.BarCodes

    Assembly: DevExpress.Docs.v26.1.dll

    Declaration

    public class AztecCodeOptions :
        BarCodeGeneratorOptions

    The following members return AztecCodeOptions objects:

    Remarks

    Note

    This documentation describes the legacy Barcode Generation API. For new projects, use the DevExpress.Docs.Barcode.BarcodeGenerator class in the DevExpress.Docs.Barcode namespace. To upgrade an existing project to the updated scheduler control, refer to the Migration Guide.

    The following code creates an Aztec Code:

    using DevExpress.Docs.Barcode;
    using DevExpress.Drawing;
    using System.Diagnostics;
    
    // Create an Aztec Code.
    BarCode barCode = new BarCode();
    barCode.Symbology = Symbology.AztecCode;
    barCode.CodeText = "0123-456789";
    barCode.Options.AztecCode.ErrorLevel = AztecCodeErrorLevel.Level1;
    barCode.Options.AztecCode.Version = AztecCodeVersion.Version45x45;
    // Save the barcode as an image.
    barCode.Save("BarCodeImage.png", DXImageFormat.Png);
    

    Inheritance

    See Also