Create 2D Barcodes (.NET)
Two dimensional barcodes such as Aztec, QRCode, PDF417, Macro PDF417, Data Matrix barcode images can be created using DynamicBarcode Creator. These images can be used in other applications.
How to Create Aztec using DynamicBarcode Creator (C#)
Below are steps and sample code to generate Aztec using the DynamicBarcode Creator product.
Steps for creating Aztec barcode
- Create an
Aztec
object and set the necessary Parameters. - Draw the barcode to PNG file.
Sample code - C#
Aztec barcode = new Aztec("Hello World", AztecSymbolSize.Full);
barcode.Draw(@"Aztec.png", 300, ImageFormat.Png);
How to create QRCode in C#
Below are the steps and sample code to create QRCode using DynamicBarcode Creator product. The output image can be used in other applications.
Steps for creating QRCode barcode
- Create
QRCode
with text. - Draw the barcode to a PNG image.
Sample Code - C#
QRCode barcode = new QRCode("Hello World");
barcode.Draw(@"qrcode.png", 300, ImageFormat.Png);
How to create PDF417 barcode in C#
Below are the steps and sample code to create PDF417 barcode using DynamicBarcode Creator product.
Steps for creating PDF417 barcode
- Create
Pdf417
with text. - Draw the barcode to a BMP image.
Sample Code - C#
Pdf417 barcode = new Pdf417("Hello World",3);
barcode.Draw(@"pdf417.bmp", 300, ImageFormat.Bmp);
How to create MacroPdf417 barcode in C#
Below are the steps and sample code to create MacroPdf417 barcode using DynamicBarcode Creator product.
Steps for creating MacroPdf417 barcode
- Create
MacroPdf417
with text. - Draw the barcode to a BMP image.
Sample Code - C#
MacroPdf417 barcode = new MacroPdf417("Hello World",3,3);
barcode.Draw(pngFilePath, 300, ImageFormat.Png);
How to create Data Matrix barcode in C#
Data Matrix barcode can be created using DynamicBarcode Creator. The generated barcode can be saved as an Image that can be added as a page element to a PDF document. Below are the steps and sample code to create Data Matrix barcode using DynamicBarcode Creator product.
Steps for creating Data Matrix barcode
- Create
DataMatrixBarcode
with text. - Draw the barcode to a PNG image.
Sample Code - C#
DataMatrixBarcode barcode = new DataMatrixBarcode("Hello World");
barcode.Draw(@"datamatrix.png", 300, ImageFormat.Png);
Getting Started
NuGet Package
DynamicBarcode Creator is available on NuGet and is part of the ceTe.DynamicBarcode.Creator.NET
package.
DynamicBarcode Creator Library is available for WPF is part of the ceTe.DynamicBarcode.Creator.WPF
package.
DynamicPDF Information
More information can be found here: