|
No. 1 Bar Code SDK Provider for Java/.NET/Objective-C Professionals
|
C# Barcode Generator TutorialHow to Generate Linear & 2D Bar Codes in Visual C#.NET Applications
Generating barcodes in C#.NET is an easy task with OnBarcode .NET Barcode Generator Components. OnBarcode provides various barcode libraries for generating barcodes using Microsoft Visual C#.NET on ASP.NET, C# Class, Windows Applications, Console Applications, and .NET Reporting Applications. This article helps you how to choose the right barcode component and integrate in your C# applications. Compare THREE .NET Barcode Generator components in different C#.NET development environments
C#.NET Barcode Generator Quick Start1. How to install .NET Barcode Generator Control to your Visual C# project?
Add OnBarcode.Barcode.WinForms.dll or OnBarcode.Barcode.ASPNET.dll to C# project reference
2. How to create linear barcodes in C# class?Linear barcode = new Linear(); // Create linear barcode object barcode.Type = BarcodeType.CODE39; // Set barcode symbology type to Code-39 barcode.Data = "0123456789"; // Set barcode data to encode barcode.X = 1; // Set barcode bar width (X dimension) in pixel barcode.Y = 60; // Set barcode bar height (Y dimension) in pixel barcode.drawBarcode("csharp-code39.png"); // Draw & print generated barcode to png image file
3. How to draw & print QR-Code in C# class?QRCode qrCode = new QRCode(); // Create QRCode object qrCode.Data = "VB.NET QRCode"; // Set QR Code data to encode qrCode.DataMode = QRCodeDataMode.Auto; // Set QRCode data mode (QR-Code Barcode Settings) qrCode.drawBarcode("csharp-qrcode.jpg"); // Draw & print generated QR Code to jpeg image file 4. How to create & print Data Matrix in C# class?DataMatrix datamatrix = new DataMatrix(); // Create Data Matrix object datamatrix.Data = "VB.NET DataMatrix"; // Set Data Matrix data to encode datamatrix.DataMode = DataMatrixDataMode.ASCII; // Set Data Matrix data mode (Data Matrix Barcode Settings) datamatrix.drawBarcode("csharp-data-matrix.gif"); // Draw & print generated Data Matrix to gif image file 5. How to create & print PDF-417 in C# class?PDF417 pdf417 = new PDF417(); // Create PDF417 object pdf417.Data = "VB.NET PDF-417"; // Set Data Matrix data to encode pdf417.DataMode = PDF417DataMode.Auto; // Set PDF-417 data mode (PDF-417 Barcode Settings) pdf417.RowCount = 3; // Set PDF-417 number of rows pdf417.ColumnCount = 5; // Set PDF-417 number of columns pdf417.drawBarcode("csharp-pdf417.gif"); // Draw & print generated Data Matrix to gif image file 6. In C# Barcode Generator, how to print & encode barcodes to GIF, JPEG, PNG & BMP?Linear barcode = new Linear(); // Create linear barcode object barcode.Type = OnBarcode.Barcode.BarcodeType.CODE39; barcode.Data = "0123456789"; // Encode barcodes to other image format, by change file extension barcode.drawBarcode("C://csharp-barcode-code39.gif"); C# Barcode Generator Supporting Barcode Symbology Types(Click to view each barcode type property settings)
Barcode Generation Guide for .NET / Java Developers |
Home | Integration | Purchase | Sitemap | Company
Barcode Components & Libraries :
Java Barcode |
Java Barcode Reader |
Android Barcode
iPhone Barcode |
iPad Barcode |
Mac Barcode
.NET Barcode Suite
.NET Barcode for ASP.NET |
.NET Barcode for Windows Forms
.NET Barcode for Reporting Service |
.NET Barcode for Crystal Reports
.NET Barcode Reader
Barcode Fonts
Barcode Generators Developer Tutorial:
.NET Barcode Generation Tutorial |
C# Barcode Generation Tutorial
ASP.NET Barcode Generation Tutorial |
VB.NET Barcode Generation Tutorial
Java Barcode Generation Tutorial
C# Barcode Reader |
VB.NET Barcode Reader
Copyright © OnBarcode.com . All rights reserved.
C# Barcode | Barcode C# | C# Barcode Generator | Barcode Generation C#, C# ASP.NET Barcode