An overview of 2D Aztec barcode symbology including their most important parameters. Create, insert, and edit barcode to PDF document.
Aztec Code is a high density 2 dimensional matrix style barcode symbology that built on a square grid with a bullseye pattern at its center. This 2D barcodes used by the transportation industry, particularly for tickets and airline boarding passes. Aztec code can take up less space than other matrix barcodes because there is no requirement of a surrounding blank "quiet zone".
.NET PDF Aztec creator can make high quality aztec code graphs, and insert the barcode into PDF page. Any size and location can be costomized by developers in the programming.
In this online guide, it shows how to generate 2D aztec barcode to PDF file in C# language.
// Create a new PDF document. PdfDocument document = new PdfDocument(); // Create a page. PdfPage page = document.AddPage(); // Get graphics object from pdf page XGraphics g = XGraphics.FromPdfPage(page); // Create a pdf barcode object PdfBarcode barcode = new PdfBarcode(); // Set the barcode type to aztec symbol barcode.BarType = BarCodeType.Aztec; // Input the barcode data content barcode.Data = "xspdf123456789"; // Change foreground and background color of barcode barcode.BarcodeColor = XColors.Black; barcode.BackgroundColor = XColors.White; // Set aztec layer mode barcode.AztecLayer = LayerMode.Default; // Set aztec code error correction barcode.AztecErrorCorrection = 33; // Set the barcode Position and location barcode.Location = new XPoint(100, 100); // Set the barcode width and height barcode.Size = new XSize(200, 200); barcode.DrawBarcode(g); // Save and show the document document.Save("Barcode.pdf"); Process.Start("Barcode.pdf");