Skip to main content

2D Barcodes

Version: 2.0

Create 2D Barcodes

DynamicBarcode Creator for .NET makes creating barcodes a breeze. Use one of the following 2D barcodes in your applications. The following examples show you how.

How to Create Aztec using DynamicBarcode Creator​

The following steps and C# sample code illustrates generating an Aztec barcode using DynamicBarcode Creator for .NET.

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(@"Aztec.png", 300, ImageFormat.Png);

How to create QRCode in C#​

The following steps and C# sample code illustrates creating a QRCode using DynamicBarcode Creator.

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(@"qrcode.png", 300, ImageFormat.Png);

How to create PDF417 barcode in C#​

The following steps and C# sample code illustrates creating a PDF417 barcode using DynamicBarcode Creator.

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(@"pdf417.bmp", 300, ImageFormat.Bmp);

How to create MacroPdf417 barcode in C#​

The following steps and C# sample code illustrates creating a MacroPdf417 barcode using DynamicBarcode Creator.

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#​

The following steps and C# sample code illustrates creating a Data Matrix barcode using DynamicBarcode Creator.

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(@"datamatrix.png", 300, ImageFormat.Png);

GitHub Project​

Examples are provided in C# and VB.NET. Clone or view the example project at GitHub.

View source on GitHub: DynamicBarcode Creator Examples

Getting Started​

Get started easily by installing DynamicBarcode Creator for .NET through NuGet or manually. Then, refer to the documentation for more information on using and purchasing.

NuGet Package​

DynamicBarcode Creator is available on NuGet and is part of the ceTe.DynamicBarcode.Creator.NET package.

Get ceTe.DynamicBarcode.Creator.NET from NuGet DynamicBarcode Creator Library is available for WPF is part of the ceTe.DynamicBarcode.Creator.WPF package.

Get ceTe.DynamicBarcode.Creator.WPF from NuGet

DynamicBarcode Creator Information​

DynamicBarcode Creator is an easy-to-use .NET library designed for efficient barcode image creation from any Windows, Web, or WPF applications. DynamicBarcode Creator is based on the time-tested barcode rendering contained within our PDF libraries. DynamicBarcode Creator for .NET can output many linear and 2-D barcode types (Data Matrix, PDF417, QR Code, and many more) in several image formats (JPEG, PNG, TIFF, GIF & BMP). With a Free Evaluation Edition to try and with flexible and royalty-free licensing options, download DynamicBarcode Creator Today!

Documentation version