BarCodeOptions.AztecCode Property
Provides access to options specific to the Aztec Code symbology.
Namespace: DevExpress.BarCodes
Assembly: DevExpress.Docs.v26.1.dll
Declaration
Property Value
| Type | Description |
|---|---|
| AztecCodeOptions | An AztecCodeOptions class instance that contains bar code specific options. |
Property Paths
You can access this nested property as listed below:
| Object Type | Path to AztecCode |
|---|---|
| BarCode |
|
Remarks
Aztec Code is a matrix code that has the potential to use less space than other matrix barcodes because it does not require a surrounding blank “quiet zone”. Aztec codes are widely used for transport ticketing.

Refer to the following article for more details: Aztec Code.
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);
See Also