Barcode for .NET WinForms > Generate Barcode in .NET WinForms

How to Generate Barcodes in .NET WinForms

How to Generate Barcode Images with .NET WinForms Barcode Control
  • Easy to integrate this barcoding component into Microsoft Visual Studio 2005/2008/2010
  • Simple to generate & create multiple linear and 2d barcodes in .NET WinForms applications
  • Provide comprehensive barcode generation guide, tutorial and sample codes for users
  • Offer flexible barcode size and related setting options for various platforms
  • Print high-quality barcode images and save them into Gif, Jpeg, Png, Bitmap and Tiff format files
  • Provide royalty-free, perpetual and flexible licenses for .NET WinForms developers
Download Free KA.Barcode for .NET WinForms Trial
Trial Duration
You can use this trial version continually and no costs are charged.
Restrictions of Trial
For the reason that "KA Barcode" watermark will appear on the barcode images generated through this Barcode Control trial, users are not allowed to apply it to commercial implementations. If you require commercial use, please purchase our authorized license.
How to Drag and Drop .NET WinForms Barcode Generator
It is very easy to drag and drop this barcode generator dll to your .NET WinForms project. Here are detailed steps.
  1. Download and unzip the .NET WinForms Barcode Generator trial package.
  2. Create your .NET WinForms project in Visual Studio.
  3. Add Barcode Control to your VS.NET Windows Forms Toolbox.
    • Right click in the Toolbox, select "Choose Items..."
    • Go to ".NET Framework Components" tab, and click "Browse..." button
    • Select "KeepAutomation.Barcode.Windows.dll" and click "Open"
    • Click "OK". Now you can see BarCodeControl in your Toolbox
  4. Drag and drop the BarCodeControl into the Forms and a barcode image is generated.
  5. If necessary, you can change barcode image setting through the Properties panel.
How to Add Barcode in .NET WinForms Using C# & VB.NET
  1. Copy KeepAutomation.Barcode.Windows.dll to your .NET WinForms project folder.
  2. Add KeepAutomation.Barcode.Windows.dll to your .NET reference.
  3. Refer to the following C# & VB codes to create barcodes in .NET WinForms class.
C# Sample code
     BarCode barcode= new BarCode();
barcode.Symbology= KeepAutomation.Barcode.Symbology.Code128Auto;
barcode.CodeToEncode = "Code 128";
barcode.X = 2;
barcode.Y = 60;
barcode.generateBarcodeToImageFile("C://barcode-code128-csharp.gif");

VB Sample code
     Dim barcode As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode
barcode.Symbology = KeepAutomation.Barcode.Symbology.Code128Auto
barcode.CodeToEncode = "Code 128"
barcode.X = 2
barcode.Y = 60
barcode.generateBarcodeToImageFile("C://barcode-code128-csharp.gif")

Download Free TrialBarcode in WinFormsBarcode in .NET ClassUsing C#Using VB.NETData Matrix for .NET WinFormsPDF417 for .NET WinFormsQR Code for .NET WinFormsmoreCodabar for .NET WinFormsCode 39 for .NET WinFormsCode 128 for .NET WinFormsEAN-8 for .NET WinFormsEAN-13 for .NET WinFormsEAN 128 for .NET WinFormsIntelligent Mail for .NET WinFormsInterleaved 2 of 5 for .NET WinFormsISBN for .NET WinFormsITF-14 for .NET WinFormsRM4SCC for .NET WinFormsUPC-A for .NET WinFormsUPC-E for .NET WinFormsmore
KeepAutomation provides complete barcode automation solutions for Business Application, Enterprise Developement Project, and mobile applications. We recommend the customers use high quality .net image viewer sdk, c# image viewer, vb.net image viewer, C# PDF document viewer, VB.NET PDF document viewer, C# Word document viewer, VB.NET Word document viewer, C# Tiff image viewer, VB.NET Tiff image viewer from RasterEdge.com.