Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
Aztec Code is a 2D matrix type that supports encoding both byte streams and alphanumeric characters. Aztec Code barcodes are depicted as square-grid modules with a unique pattern in the middle of a barcode image that facilitates barcode scanning and recognition. Moreover, it enables Reed-Solomon error correction to verify data integrity and recover encoded information. This symbology provides high data density and recognition accuracy.
Aztec Code includes the following subtypes:
To select the required generation mode for Aztec Code barcodes in Aspose.BarCode for C++, it is necessary to initialize the AztecSymbolMode field of class AztecParameters. This property can take the following values:
Sample Aztec Code barcodes provided below have been created using different generation modes.
Generation Mode | Auto | Compact | Full-Range | Rune |
---|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
Aspose.BarCode for C++ allows encoding streams of bytes as Aztec Code barcodes. To visualize the text under barcode images, it is necessary to initialize the TwoDDisplayText property.
Aspose.BarCode for C++ enables encoding Unicode symbols using the CodeTextEncoding property of class AztecParameters. This property is valid for all Aztec Code subtypes except Rune.
In addition to the main barcode data, Aztec Code barcodes contain recovery information that can occupy from 5 to 95% of the entire encoded data stream. It is recommended to set this parameter to 23%. To select the required error correction level for Aztec Code in Aspose.BarCode for C++, it is necessary to initialize the AztecErrorLevel property of class AztecParameters.
Sample barcodes demonstrated below have been generated with different error correction level settings.
Error Correction Level | Is Set to 5 | Is Set to 50 |
---|---|---|
![]() |
![]() |
Aspect Ratio is the ratio between the height and the width of a barcode. To adjust barcode proportions using the X and Y coordinates in Aspose.BarCode for C++, it is necessary to use the AspectRatio property of class AztecParameters. In Aspose.BarCode for C++, it is defined as a relative coefficient to the value of XDimension. In most cases, the value of AspectRatio should be set to 1. However, if developers need to adjust the proportions of generated barcodes, it can be done using the AspectRatio parameter.
The barcode images demonstrated below have been created using different aspect ratio settings.
Aspect Ratio | Is Set to 1 | Is Set to 0.5 |
---|---|---|
![]() |
![]() |
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.