|
No. 1 Bar Code SDK Provider for Java/.NET/Objective-C Professionals
|
.NET Barcode Generator TutorialHow to generate linear & 2D barcodes in .NET applications?
Quick jump: Install | C# Integration | VB.NET Integration | ASP.NET Integration | Barcode Types .NET Barcode is a mature, easy to use .NET barcode generator component (.NET dll Class Library) which lets you to easily and simply draw, generate, and create linear & 2D bar codes in your .NET projects. Install .NET Barcode Generator Components to .NET Projects
Install
Add ASP.NET Web Form Control to ASP.NET Visual Studio Toolbox
Add .NET Windows Form Control to .NET Visual Studio Toolbox
How to Generate Barcodes in C#.NET class?
// Create a linear object and set barcode symbology type to Code-39
Linear barcode = new Linear();
barcode.Type = BarcodeType.CODE39;
// Set barcode value
barcode.Data = "CODE39";
// Set barcode bar width (X module) and bar height (Y module)
barcode.X = 1;
barcode.Y = 60;
// Generate barcode and encode barcode to gif format
barcode.Format = ImageFormat.Gif;
barcode.drawBarcode("c#-barcode.gif");
// Print barcode to C# Bitmap object
Bitmap barcodeInBitmap = barcode.drawBarcode();
Other C# methods to generate barcodes & output to C# objects
public void drawBarcode(Graphics graphics);
public void drawBarcode(string filename);
public Bitmap drawBarcode();
public void drawBarcode(Stream fileStream);
More Barcode Generation Tutorial for C# More C# source code examples for common barcode types
How to Generate Barcodes in VB.NET class?// Create linear barcode object and set barcode type Dim barcode As OnBarcode.Barcode.Linear barcode = New OnBarcode.Barcode.Linear() barcode.Type = OnBarcode.Barcode.BarcodeType.CODE39 // Set barcode value to encode barcode.Data = "CODE39" // Set barcode bar width (X module) and bar height (Y module) barcode.X = 1 barcode.Y = 60 // Generate barcode and encode barcode to png format barcode.Format = ImageFormat.Png barcode.drawBarcode("vbnet-barcode.png") // Print barcode to vb.net Bitmap object Dim barcodeInBitmap As Bitmap barcodeInBitmap = barcode.drawBarcode();Other VB.NET methods to generate barcodes & output to VB.NET objects Public Sub drawBarcode(ByRef graphics As Graphics) Public Sub drawBarcode(ByVal filename As String) Public Function drawBarcode() As Bitmap Public Sub drawBarcode(ByRef fileStream As Stream) More Barcode Generation Tutorial for VB.NET How to generate barcode image in html or aspx pages?
.NET 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.
.NET Barcode Generator | Barcode Generator .NET, .NET Barcode Generation