using IronBarCode;// Create the Aztec barcodeGeneratedBarcodeAztecCode = BarcodeWriter.CreateBarcode("https://ironsoftware.com/csharp/barcode/", BarcodeEncoding.Aztec);// Display the value below the barcodeAztecCode.AddBarcodeValueTextBelowBarcode();// Save as a JPG fileAztecCode.SaveAsJpeg("aztec-sample.jpg");
using IronBarCode;
// Create the Aztec barcode
GeneratedBarcode AztecCode = BarcodeWriter.CreateBarcode("https://ironsoftware.com/csharp/barcode/", BarcodeEncoding.Aztec);
// Display the value below the barcode
AztecCode.AddBarcodeValueTextBelowBarcode();
// Save as a JPG file
AztecCode.SaveAsJpeg("aztec-sample.jpg");
ImportsIronBarCode' Create the Aztec barcodeDimAztecCodeAsGeneratedBarcode = BarcodeWriter.CreateBarcode("https://ironsoftware.com/csharp/barcode/", BarcodeEncoding.Aztec)' Display the value below the barcodeAztecCode.AddBarcodeValueTextBelowBarcode()' Save as a JPG fileAztecCode.SaveAsJpeg("aztec-sample.jpg")
Imports IronBarCode
' Create the Aztec barcode
Dim AztecCode As GeneratedBarcode = BarcodeWriter.CreateBarcode("https://ironsoftware.com/csharp/barcode/", BarcodeEncoding.Aztec)
' Display the value below the barcode
AztecCode.AddBarcodeValueTextBelowBarcode()
' Save as a JPG file
AztecCode.SaveAsJpeg("aztec-sample.jpg")
using IronBarCode;// Create the DataMatrix barcodeGeneratedBarcodeDataMatrix = BarcodeWriter.CreateBarcode("https://ironsoftware.com/csharp/barcode/", BarcodeEncoding.DataMatrix);// Display the value below the barcodeDataMatrix.AddBarcodeValueTextBelowBarcode();// Save as a JPG fileDataMatrix.SaveAsJpeg("dataMatrix-sample.jpg");
using IronBarCode;
// Create the DataMatrix barcode
GeneratedBarcode DataMatrix = BarcodeWriter.CreateBarcode("https://ironsoftware.com/csharp/barcode/", BarcodeEncoding.DataMatrix);
// Display the value below the barcode
DataMatrix.AddBarcodeValueTextBelowBarcode();
// Save as a JPG file
DataMatrix.SaveAsJpeg("dataMatrix-sample.jpg");
ImportsIronBarCode' Create the DataMatrix barcodeDimDataMatrixAsGeneratedBarcode = BarcodeWriter.CreateBarcode("https://ironsoftware.com/csharp/barcode/", BarcodeEncoding.DataMatrix)' Display the value below the barcodeDataMatrix.AddBarcodeValueTextBelowBarcode()' Save as a JPG fileDataMatrix.SaveAsJpeg("dataMatrix-sample.jpg")
Imports IronBarCode
' Create the DataMatrix barcode
Dim DataMatrix As GeneratedBarcode = BarcodeWriter.CreateBarcode("https://ironsoftware.com/csharp/barcode/", BarcodeEncoding.DataMatrix)
' Display the value below the barcode
DataMatrix.AddBarcodeValueTextBelowBarcode()
' Save as a JPG file
DataMatrix.SaveAsJpeg("dataMatrix-sample.jpg")
using IronBarCode;// Create the MaxiCode barcodeGeneratedBarcodeMaxiCode = BarcodeWriter.CreateBarcode("https://ironsoftware.com/csharp/barcode/", BarcodeEncoding.MaxiCode);// Display the value below the barcodeMaxiCode.AddBarcodeValueTextBelowBarcode();// Save as a JPG fileMaxiCode.SaveAsJpeg("maxiCode-sample.jpg");
using IronBarCode;
// Create the MaxiCode barcode
GeneratedBarcode MaxiCode = BarcodeWriter.CreateBarcode("https://ironsoftware.com/csharp/barcode/", BarcodeEncoding.MaxiCode);
// Display the value below the barcode
MaxiCode.AddBarcodeValueTextBelowBarcode();
// Save as a JPG file
MaxiCode.SaveAsJpeg("maxiCode-sample.jpg");
ImportsIronBarCode' Create the MaxiCode barcodeDimMaxiCodeAsGeneratedBarcode = BarcodeWriter.CreateBarcode("https://ironsoftware.com/csharp/barcode/", BarcodeEncoding.MaxiCode)' Display the value below the barcodeMaxiCode.AddBarcodeValueTextBelowBarcode()' Save as a JPG fileMaxiCode.SaveAsJpeg("maxiCode-sample.jpg")
Imports IronBarCode
' Create the MaxiCode barcode
Dim MaxiCode As GeneratedBarcode = BarcodeWriter.CreateBarcode("https://ironsoftware.com/csharp/barcode/", BarcodeEncoding.MaxiCode)
' Display the value below the barcode
MaxiCode.AddBarcodeValueTextBelowBarcode()
' Save as a JPG file
MaxiCode.SaveAsJpeg("maxiCode-sample.jpg")
using IronBarCode;// Create PDF417 barcodeGeneratedBarcodePDF417code = BarcodeWriter.CreateBarcode("https://ironsoftware.com/csharp/barcode/", BarcodeEncoding.PDF417);// Display the value below the barcodePDF417code.AddBarcodeValueTextBelowBarcode();// Save as a JPG filePDF417code.SaveAsJpeg("pdf417-sample.jpg");
using IronBarCode;
// Create PDF417 barcode
GeneratedBarcode PDF417code = BarcodeWriter.CreateBarcode("https://ironsoftware.com/csharp/barcode/", BarcodeEncoding.PDF417);
// Display the value below the barcode
PDF417code.AddBarcodeValueTextBelowBarcode();
// Save as a JPG file
PDF417code.SaveAsJpeg("pdf417-sample.jpg");
ImportsIronBarCode' Create PDF417 barcodeDimPDF417codeAsGeneratedBarcode = BarcodeWriter.CreateBarcode("https://ironsoftware.com/csharp/barcode/", BarcodeEncoding.PDF417)' Display the value below the barcodePDF417code.AddBarcodeValueTextBelowBarcode()' Save as a JPG filePDF417code.SaveAsJpeg("pdf417-sample.jpg")
Imports IronBarCode
' Create PDF417 barcode
Dim PDF417code As GeneratedBarcode = BarcodeWriter.CreateBarcode("https://ironsoftware.com/csharp/barcode/", BarcodeEncoding.PDF417)
' Display the value below the barcode
PDF417code.AddBarcodeValueTextBelowBarcode()
' Save as a JPG file
PDF417code.SaveAsJpeg("pdf417-sample.jpg")
using IronBarCode;// Create QR CodeGeneratedBarcodeQRcode = BarcodeWriter.CreateBarcode("https://ironsoftware.com/csharp/barcode/", BarcodeEncoding.QRCode);// Display the value below the barcodeQRcode.AddBarcodeValueTextBelowBarcode();// Save as a JPG fileQRcode.SaveAsJpeg("QRcode.jpg");
using IronBarCode;
// Create QR Code
GeneratedBarcode QRcode = BarcodeWriter.CreateBarcode("https://ironsoftware.com/csharp/barcode/", BarcodeEncoding.QRCode);
// Display the value below the barcode
QRcode.AddBarcodeValueTextBelowBarcode();
// Save as a JPG file
QRcode.SaveAsJpeg("QRcode.jpg");
ImportsIronBarCode' Create QR CodeDimQRcodeAsGeneratedBarcode = BarcodeWriter.CreateBarcode("https://ironsoftware.com/csharp/barcode/", BarcodeEncoding.QRCode)' Display the value below the barcodeQRcode.AddBarcodeValueTextBelowBarcode()' Save as a JPG fileQRcode.SaveAsJpeg("QRcode.jpg")
Imports IronBarCode
' Create QR Code
Dim QRcode As GeneratedBarcode = BarcodeWriter.CreateBarcode("https://ironsoftware.com/csharp/barcode/", BarcodeEncoding.QRCode)
' Display the value below the barcode
QRcode.AddBarcodeValueTextBelowBarcode()
' Save as a JPG file
QRcode.SaveAsJpeg("QRcode.jpg")
using IronBarCode;// Create a Micro QR CodeGeneratedBarcode microQRcode = BarcodeWriter.CreateBarcode("IRON-1234", BarcodeEncoding.MicroQRCode);// Display the value below the barcodemicroQRcode.AddBarcodeValueTextBelowBarcode();// Save to file as JpegmicroQRcode.SaveAsJpeg("microQRCode.jpg");
using IronBarCode;
// Create a Micro QR Code
GeneratedBarcode microQRcode = BarcodeWriter.CreateBarcode("IRON-1234", BarcodeEncoding.MicroQRCode);
// Display the value below the barcode
microQRcode.AddBarcodeValueTextBelowBarcode();
// Save to file as Jpeg
microQRcode.SaveAsJpeg("microQRCode.jpg");
ImportsIronBarCode' Create a Micro QR CodeDim microQRcode AsGeneratedBarcode = BarcodeWriter.CreateBarcode("IRON-1234", BarcodeEncoding.MicroQRCode)' Display the value below the barcodemicroQRcode.AddBarcodeValueTextBelowBarcode()' Save to file as JpegmicroQRcode.SaveAsJpeg("microQRCode.jpg")
Imports IronBarCode
' Create a Micro QR Code
Dim microQRcode As GeneratedBarcode = BarcodeWriter.CreateBarcode("IRON-1234", BarcodeEncoding.MicroQRCode)
' Display the value below the barcode
microQRcode.AddBarcodeValueTextBelowBarcode()
' Save to file as Jpeg
microQRcode.SaveAsJpeg("microQRCode.jpg")
using IronBarCode;// Create a RmQR CodeGeneratedBarcode rMqrCode = BarcodeWriter.CreateBarcode("https://ironsoftware.com/csharp/barcode/", BarcodeEncoding.RMQRCode);// Display the value below the barcoderMqrCode.AddBarcodeValueTextBelowBarcode();// Save to file as JpegrMqrCode.SaveAsJpeg("rmQRcode.jpg");
using IronBarCode;
// Create a RmQR Code
GeneratedBarcode rMqrCode = BarcodeWriter.CreateBarcode("https://ironsoftware.com/csharp/barcode/", BarcodeEncoding.RMQRCode);
// Display the value below the barcode
rMqrCode.AddBarcodeValueTextBelowBarcode();
// Save to file as Jpeg
rMqrCode.SaveAsJpeg("rmQRcode.jpg");
ImportsIronBarCode' Create a RMQR CodeDim rMqrCode AsGeneratedBarcode = BarcodeWriter.CreateBarcode("https://ironsoftware.com/csharp/barcode/", BarcodeEncoding.RMQRCode)' Display the value below the barcoderMqrCode.AddBarcodeValueTextBelowBarcode()' Save to file as JpegrMqrCode.SaveAsJpeg("rmQRcode.jpg")
Imports IronBarCode
' Create a RMQR Code
Dim rMqrCode As GeneratedBarcode = BarcodeWriter.CreateBarcode("https://ironsoftware.com/csharp/barcode/", BarcodeEncoding.RMQRCode)
' Display the value below the barcode
rMqrCode.AddBarcodeValueTextBelowBarcode()
' Save to file as Jpeg
rMqrCode.SaveAsJpeg("rmQRcode.jpg")
How do I choose the right 2D barcode format with IronBarcode?
Choosing the right 2D barcode with IronBarcode involves understanding each format's strengths. Aztec is great for mobile screens, DataMatrix for industrial marking, QR for consumer use, and so on. IronBarcode supports all these, offering customization for specific needs.
What makes 2D barcodes generated by IronBarcode reliable?
IronBarcode equips 2D barcodes with built-in error correction, maintaining data accessibility even if the barcode is damaged. This feature, alongside the capacity to store large amounts of data, makes them reliable for fast-paced and mobile scanning environments.