Create 2D Barcodes (.NET)

Two dimentional 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

  1. Create an Aztec object and set the necessary Parameters.
  2. Draw the barcode to PNG file.

Sample code - C#

Aztec barcode = new Aztec("Hello World", AztecSymbolSize.Full);
barcode.Draw(@"C:\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

  1. Create QRCode with text.
  2. Draw the barcode to a PNG image.

Sample Code - C#

QRCode barcode = new QRCode("Hello World");
barcode.Draw(@"C:\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

  1. Create Pdf417 with text.
  2. Draw the barcode to a BMP image.

Sample Code - C#

Pdf417 barcode = new Pdf417("Hello World",3);
barcode.Draw(@"C:\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

  1. Create MacroPdf417 with text.
  2. 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

  1. Create DataMatrixBarcode with text.
  2. Draw the barcode to a PNG image.

Sample Code - C#

DataMatrixBarcode barcode = new DataMatrixBarcode("Hello World");
barcode.Draw(@"C:\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.

NuGet Package ID: ceTe.DynamicBarcode.Creator.NET

DynamicBarcode Creator Library is available for WPF is part of the ceTe.DynamicBarcode.Creator.WPF package.

NuGet Package ID: ceTe.DynamicBarcode.Creator.WPF

DynamicPDF Information

More information can be found here:

Why Choose DynamicPDF?

  • Transparent Pricing
  • Lots of Features
  • Easy to Use
  • Great Support
  • Efficient Performance
  • Product Maturity (Over 18 Years)
  • Free Evaluation
  • .NET Core Support (Most Products)
  • Flexible Licensing

We’re Not The Only Ones That Think We’re Great!