The C# code tutorial below demonstrates you how to create Aztec Code barcode using C# in Console application. And you may be interested in generating Aztec Code in .NET WinForms and making Aztec Code in web application.
using System; using System.Drawing; using System.Drawing.Imaging; using PQScan.BarcodeCreator; namespace AztecCodeGeneratorInCSharp { classProgram { staticvoid Main(string[] args) { //Create an instance of PQScan.BarcodeCreator.Barcode object. Barcode aztec = new Barcode(); //Set barcode date to encode aztec.Data = "pqScan123456789"; //Set barcode type aztec.BarType = BarCodeType.Aztec; //Set barcode image width aztec.Width = 300; //Set barcode image height aztec.Height = 300; //Set aztec code error correction aztec.AztecErrorCorrection = 33; //Set aztec layer mode aztec.AztecLayer = LayerMode.Default; //Set barcode image fore groud color aztec.BarcodeColor = Color.Black; //Set barcode image back ground color aztec.BackgroundColor = Color.White; //Set barcode image format aztec.PictureFormat = ImageFormat.Png; //Save barcode image to file aztec.CreateBarcode("aztec-csharp.png"); } } }