C# Barcode Generation Tutorial
How to generate linear & 2D barcodes in C#.NET projects?
C#.NET Barcode Generator offers the most affordable .NET barcode generator for barcode .NET professionals.
Overview
Keepdynamic.com supply C# .NET Barcode Generator for the creation of 1D&2D (two dimensional) barcodes in your C# .NET framework projects. Barcodes of linear & Matrix can be created by our C# .NET Barcode Generator including:
Features
Technologies of Barcode C#.NET Creator
C# .NET Barcode Creator helps you generate most common linear and matrix barcodes that you probably need in your C# .NET applications. It is entirely built in .NET 2.0 and supports .NET 2.0, 3.0, 3.5, 4.0. Bar coding in C# .NET classes and console applications is easy. Using this C# .NET Barcode Creator, barcodes can also be easy to be generated in ASP.NET web projects, Microsoft Windows Forms, SQL Server Reporting Services (SSRS), and Crystal Reports.
Barcode images generated by C#.NET Barcode Creator
Image formats supported by this C#.NET barcode Creator include gif, jpeg, png, bmp, and tiff. Barcodes can be rotated to 0, 90, 180, or 270 degrees based on specific requirements. The image size and other properties may be adjusted to meet the usersĄŻ specifications. High quality barcodes are supported by this product without any distortion.
Customization of C#.NET Barcodes
Full functional features of C# .NET Barcode Creator make the operation of barcode easy and simple. Using this creator, the appearance of the human readable characters on linear barcodes can be enabled or disabled. The checksum character that encoded in linear barcodes can be displayed for human reading. C# .NET Barcode Creator provided the functionality of configuring the colors of foreground and background. It is easy to encode the returns, tabs and other functions into your C# .NET applications. Bearer bar is also easy to be generated for linear barcodes including ITF.
C#.NET Source code and Developer License
Complete C# .NET Barcode Creator source code is provided with the purchasing of unlimited developer license. Royalty is free if purchasing a developer license.
How to generate linear (1D) barcodes in C#.NET Class?
The following C# .NET code illustrates how to generate a linear barcode in C# class:
using KeepDynamic.Barcode.Generator;
BarCode barcode = new BarCode();
barcode.SymbologyType = SymbologyType.Code128;
barcode.CodeText = "Code128";
barcode.Format = ImageFormat.Png;
barcode.drawBarcode("C://barcode-code128-csharp.png");
barcode.drawBarcode("Graphics object");
barcode.drawBarcode("Stream object");
How to generate Data Matrix barcodes in C#.NET Class?
The following C# .NET code illustrates how to generate a Data Matrix barcode in C# class:
using KeepDynamic.Barcode.Generator;
DataMatrix barcode = new DataMatrix();
barcode.CodeText = "Data Matrix in C#";
barcode.Format = ImageFormat.Png;
barcode.drawBarcode("C://barcode-datamatrix-csharp.png");
barcode.drawBarcode("Graphics object");
barcode.drawBarcode("Stream object");
How to generate PDF-417 barcodes in C#.NET Class?
The following C# .NET code illustrates how to generate a PDF-417 barcode in C# class:
using KeepDynamic.Barcode.Generator;
PDF417 barcode = new PDF417();
barcode.CodeText = "PDF417 in C#";
barcode.Format = ImageFormat.Png;
barcode.drawBarcode("C://barcode-pdf417-csharp.png");
barcode.drawBarcode("Graphics object");
barcode.drawBarcode("Stream object");
How to generate QR-Code barcodes in C#.NET Class?
The following C# .NET code illustrates how to generate a QR-Code barcode in C# class:
using KeepDynamic.Barcode.Generator;
QRCode barcode = new QRCode();
barcode.CodeText = "QRCode in C#";
barcode.Format = ImageFormat.Png;
barcode.drawBarcode("C://barcode-qrcode-csharp.png");
barcode.drawBarcode("Graphics object");
barcode.drawBarcode("Stream object");
Creating barcodes using .NET Barcode Generator Windows Form Control
To create barcodes in C# Windows Forms applications, do the following procedures:
- Add KeepDynamic.BarCode.Windows.dll to your C# project reference
- Add KeepDynamic.BarCode.Windows.dll to windows project toolbox
- Drag the one of the
BarCodeControl,
DataMatrixControl,
PDF417Control,
QRCodeControl item to your windows forms
Creating barcodes using ASP.NET Barcode Generator ASP.NET Web Form Control
To create barcodes in C# ASP.NET Web Forms applications, do the following procedures:
- Add KeepDynamic.BarCode.AspNet.dll to your C# project reference
- Add KeepDynamic.BarCode.AspNet.dll to windows project toolbox
- Drag the one of the
BarCodeControl,
DataMatrixControl,
PDF417Control,
QRCodeControl item to your ASP.NET Web form pages, in your ASP.NET design view