How to Generate Code 39 in .NET WinForms

How to Create Linear Code 39 Barcode Images in .NET WinForms, C# & VB.NET
  • Absolutely Compatible with ISO / IEC 16388 (2nd edition) specification
  • Fully integrate with Microsoft Visual Studio 2005/2008/2010
  • Generate Code 39 barcode in .NET WinForms using C# or VB class
  • Generate and create linear Code 39 barcode in .NET development environments
  • Easy to create 1D Code 39 Extension barcode in .NET Windows Forms applications
  • Print Linear Code 39 barcode as graphic image without using barcode font
  • Advanced and reliable 1D Code 39 barcode generating DLL for all customers
Code 39 Barcode Control in .NET WinForms Overview
KA.Barcode for .NET WinForms is a versatile barcode encoder component SDK which prints and generates Code 39 and other 1D & two-dimensional barcode symbols with high-quality in .NET Windows Forms applications, C#, Visual Basic .NET class library, Crystal Reports, etc. Various barcode options are provided for developers to customize the generated barcode images.
Code 39 Encodable Data in .NET WinForms
  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
  • Uppercase letters (A - Z)
  • - (Dash), $ (Dollar), % (Percentage), (Space), . (Point), / (Slash), + (Plus)
Code 39 Extension Encodable Data in .NET WinForms
  • All 128 ASCII characters: A-Z, a-z, 0-9, and special characters
Download Code 39 Barcode Generator for .NET WinForms
Please download KA.Barcode for .NET WinForms free evaluation. After it is unzipped, you will see the following contents:
  • KeepAutomation.Barcode.Windows.dll
  • End User License Agreement
  • User Manual
  • Buy Now page
Note: This free evaluation version can be used for an unlimited period of time, but a "KA Barcode" watermark will appear on the generated Code 39 barcode image randomly.
Insert Code 39 Barcode in .NET WinForms
With this Code 39 barcode generation control, users are able to generate user-defined barcode images in a few steps.
  1. Open Visual Studio, right click in "Toolbox" and select "Choose Items..."
  2. Then, click button "Browse..." and choose "KeepAutomation.Barcode.Windows.dll".
  3. Add "BarCodeControl" from Visual Studio Toolbox to your project form.
  4. Move to Properties window and choose Code39 barcode type.
  5. A Code 39 barcode image is generated and you can customize barcode image settings in the "Properties" window.
Generate Code 39 in .NET WinForms Using C# or VB.NET
It is simple to generate Code 39 barcode image in .NET Windows Forms using C# or VB sample code. And "KeepAutomation.Barcode.Windows.dll" should be added to your project reference beforehand.
C# Sample code
     BarCode code39 = new BarCode();
code39.Symbology = KeepAutomation.Barcode.Symbology.Code39;
code39.CodeToEncode = "123";
code39.generateBarcodeToImageFile("C://barcode- code39-csharp.gif");

VB Sample code
     Dim code39 As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode

code39.Symbology= KeepAutomation.Barcode.Symbology.Code39
code39.CodeToEncode = "Code 39"

Generate Code 39 with Check Digit in .NET WinForms
Code 39 barcode is a self-checking linear barcode. However, it may use a modulo 43 checksum digit in applications that require very high level of accuracy, such as HIBC and LOGMARS. Users may add modulo 43 check digit using "ChecksumEnabled" property and display it as the last character in Code 39 data sequence with "DisplayChecksum" property enabled.
C# Sample code
     barcode.ChecksumEnabled = true;
barcode.DisplayChecksum = true;
VB Sample code
     barcode.ChecksumEnabled = true
barcode.DisplayChecksum = true
Generate Code 39 with Start and Stop Character in WinForms
Unlike other linear barcode, Code 39 may add a human-readable symbol "*" as the start and stop character. However, symbol "*" is not a part of encoded data and cannot be transmitted by the decoder. Users may display it in Code 39 barcode with "DisplayStartStop" property enabled.
C# Sample code
     barcode.DisplayStartStop = true;
VB Sample code
     barcode.DisplayStartStop = true
Generate Code 39 with I & N Value Customization in WinForms
"I", intercharacter gap, is a special value for Code 39 that stands for the space between each two character. The default value is 1, users may adjust it with "I" property. "N" value means the wide to narrow bar ratio, users are able to modify it by setting the "WideNarrowRatio" property. The default value is 2.
C# Sample code
     barcode.I = 1.0f;
barcode.WideNarrowRatio = 2.0f;
VB Sample code
     barcode.I = 1.0f
barcode.WideNarrowRatio = 2.0f
Free Trial DownloadWinForms Code 39.NET Class Code 39Using C#Using VB.NETData Matrix for .NET WinFormsPDF417 for .NET WinFormsQR Code for .NET WinFormsmoreCodabar 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 ASP.NET html5 document viewer, c# pdf sdk, C# merge PDF files, Split PDF in C#, C# View, edit PDF online , C# Convert PDF to Tiff, C# Convert PDF to text, txt, .net imaging sdk, C# PDF metadata edit from