Like printing Aztec Code image on .NET Windows Forms, users can generate Aztec Code in ASP.NET Web Forms. In this sample guide, we will introduce you how to create Aztec Code barcode in web page using C# language.
using System; using System.Web; using System.Web.UI; using PQScan.BarcodeCreator; namespace AztecCodeGeneratorInWeb { public partial class WebForm1 : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { Barcode aztec = new Barcode(); aztec.Data = "pqScan123456789"; aztec.BarType = BarCodeType.Aztec; aztec.Width = 300; aztec.Height = 300; aztec.AztecLayer = LayerMode.Normal5; aztec.AztecErrorCorrection = 33; aztec.CreateBarcode("aztec-webforms.gif"); } } }