Aspose.BarCode.Examples.CSharp.CreateAndManageTwoDBarcodes.UseAztecErrorCorrection.Run C# (CSharp) Method

Run() public static method

public static Run ( ) : void
return void
        public static void Run()
        {
            // The path to the documents directory.
            string dataDir = RunExamples.GetDataDir_CreateAndManage2DBarCodes();

            // Instantiate barcode object and set Barcode CodeText & Symbology
            BarCodeBuilder barCodeBuilder = new BarCodeBuilder("123456789", EncodeTypes.Aztec)
            { 
                // Set Error Error Correction level and  Save the Barcode image
                AztectErrorLevel = 10
            };           
            barCodeBuilder.Save(dataDir + "UseAztecErrorCorrection_out.bmp", BarCodeImageFormat.Bmp);
        }
    }
UseAztecErrorCorrection