C# Barcode Generation Guide & Tutorial



OnBarcode.com provides several barcode products and options for generating barcodes in Microsoft Visual C# .NET. The following content helps C# developers select the best product needed.

 

.NET Barcode for ASP.NET

  • Created exclusively for ASP.NET Web Applications.

  • Written 100% in C#.NET 2005

  • Generates graphic barcode images without fonts.

  • Supports most common linear barcode types as well as 2D symbologies including Code 39, Code 128, EAN-128, EAN-8, EAN-13, UPC-A, UPC-E, Data Matrix, PDF417, and QR Code.

  • Draw barcodes to image files as well as in the memory.



 

.NET Barcode for Windows Forms

  • Created exclusively for .NET Windows Applications.

  • Written 100% in C#.NET 2005

  • Generates graphic barcode images without fonts.

  • Supports most common linear barcode types as well as 2D symbologies including Code 39, Code 128, EAN-128, EAN-8, EAN-13, UPC-A, UPC-E, Data Matrix, PDF417, and QR Code.

  • Draw barcodes to image files as well as in the memory.

C# Barcode Generator Supporting Barcode Symbology Types


(Click to view each barcode type property settings)

In C# Barcode Generator, how to create barcodes in C#.NET class?

Add OnBarcode.Barcode.WinForms.dll or OnBarcode.Barcode.ASPNET.dll to .NET project reference
Linear barcode = new Linear();
barcode.Type = BarcodeType.CODE39;
barcode.Data = "0123456789";
barcode.drawBarcode("C://csharp-barcode-code39.gif");

Barcode Code-39

In C# Barcode Generator, how to create barcodes to GIF, JPEG, PNG & BMP?

Linear barcode = new Linear();
barcode.Type = BarcodeType.CODE39;
barcode.Data = "0123456789";
barcode.drawBarcode("C://csharp-barcode-code39.gif");
//Or create to other image format, like jpg, png, bmp






Barcode Generation Guide for .NET / Java Developers

.NET Barcode Generation     |     C# Barcode Generation     |     ASP.NET Barcode Generation     |     VB.NET Barcode Generation

Java Barcode Generation