Create 2D Barcodes (.NET)
DynamicBarcode Creator makes creating barcodes straightforward. Use one of the following 2D barcodes in your applications.
How to Create Aztec using DynamicBarcode Creator (C#)
The following steps and sample code illustrates generating an Aztec barcode using DynamicBarcode Creator.
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#
The following steps and sample code illustrates creating a QRCode using DynamicBarcode Creator.
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#
The following steps and sample code illustrates creating a PDF417 barcode using DynamicBarcode Creator.
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#
The following steps and sample code illustrates creating a MacroPdf417 barcode using DynamicBarcode Creator.
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#
The following steps and sample code illustrates creating a Data Matrix barcode using DynamicBarcode Creator.
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);
GitHub Project
Clone or view the example project at GitHub. The examples on this page are in the TwoDimensionalBarcode.cs file.
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: