You can find more details at: Generate Aztec Barcode in C#
Last active
September 22, 2022 16:36
-
-
Save aspose-com-gists/25561b9e05cbcc909d2ba34974196f6a to your computer and use it in GitHub Desktop.
Generate Aztec Barcode 2D Programmatically in C#
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Initialize BarcodeGenerator class object | |
BarcodeGenerator gen = new BarcodeGenerator(EncodeTypes.Aztec, "Åspóse.Barcóde© is used to generate & recognize barcodes"); | |
// Set size value in pixels | |
gen.Parameters.Barcode.XDimension.Pixels = 4; | |
// Set symbol mode FullRange | |
gen.Parameters.Barcode.Aztec.AztecSymbolMode = AztecSymbolMode.FullRange; | |
// Set error correction capacity to 50% | |
gen.Parameters.Barcode.Aztec.AztecErrorLevel = 50; | |
// Save output Aztec barcode | |
gen.Save("Aztec50.png", BarCodeImageFormat.Png); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Initialize BarcodeGenerator class object | |
BarcodeGenerator gen = new BarcodeGenerator(EncodeTypes.Aztec, "Åspóse.Barcóde©"); | |
// Set size value in pixels | |
gen.Parameters.Barcode.XDimension.Pixels = 4; | |
// Set symbol mode Compact | |
gen.Parameters.Barcode.Aztec.AztecSymbolMode = AztecSymbolMode.Compact; | |
// Save output Aztec barcode | |
gen.Save("AztecCompact.png", BarCodeImageFormat.Png); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment