.NET Barcode Generator
for WinFroms Application in C#.NET
Winforms .NET Barcode Generation DLL
Barcode .NET WinForms > Barcode in .NET WinForms > Code 39
Linear Barcode in .NET WinForms
Code 39 in C#
Code 128 in C#
EAN-13 in C#
EAN 128 in C#
UPC-A in C#
Code 39 .NET Barcode Generator/Library for C#.NET
Code 39 Barcode Generator/Library in C#.NET - Overview
This .NET barcode generation SDK is a Code 39 and Code 39 extension barcode image generator to integrate Code 39 barcodes in Windows Forms C# .NET projects. Code 39 barcode control provides a complete solution for integrating dynamic barcodes into .NET Framework Applications. Easy-to-configure assistant tool lets you easily generate barcodes in Visual C# .NET projects.

.NET Barcode Generator SDK library includes ASP.NET Barcode Generator, C# Barcode Generator, VB.NET Barcode Generator, QR Code Generator .NET, QR Code Generator ASP.NET, QR Code Generator C#, QR Code Generator VB.NET, Code 39 .NET, Code 39 VB.NET, Code 39 ASP.NET, Code 39 C#.
Aspper Code 39 control provides optional source code and perpetual license. Barcodes created by this control are high quality graphic images. Code 39 barcode control could be sized and parameters could be set to meet required specifications.
Aspper.com helps .NET programmers to generate most popular dynamic linear and 2D barcodes in Windows Forms applications using C# barcode class library.

Linear barcodes: Code 128, EAN-13, GS1-128,UPC-A

2D barcodes: Data Matrix,PDF-417,QR Code
Code 39 Barcode Generator/Library for Visual C#.NET - Benefits
Code 39 Barcode Generator/Library for .NET Applications
Aspper.com provides complete information of User Guide for Visual C#solution to generate dynamic Code 39 barcodes into .NET applications and report solution.
How to Create Code 39 Barcodes on C#.NET App

Generate and Draw Code 39 1D Barcodes in C#.NET Classes

  1. Download the Code 39 barcode generation SDK and unzip it. Copy the generation dll to your C#.NET project folder.
  2. Open your project in Visual Studio; add Code 39 barcode generation dll to project reference.
  3. Right click the form, choose (view code) in the list. Barcodes could be created easily by adding C# code.
// Create linear barcode object
BarCode code39 = new BarCode();
// Setting barcode symbology type
code39.Symbology = Symbology.Code39;
// Draw & print generated barcode to png image file
code39.draw("csharp-code39.png ");
Basic parameter setting of Code 39
// Set barcode data to encode
Code39.Data = "0123456789"
// Apply checksum digit, default is false
code39. EnableCheckSum = True
// Set left, right, top, bottom margins of barcode image. Defaults are 0.
code39. MarginLeft = 0;
Valid values are:
code39. MarginRight;
code39. MarginTop;
code39. MarginBottom;
// Set Bar module width (X), default is 2 pixel;
code39.X = 2;
// Set Bar module height (Y), default is 75 pixel;
code39.Y = 75;
// Set resolution of image, default is 72 dpi.
code39.Resolution = 72;
// 4 options of barcode orientation are: 0, 90, 180, 270 degrees
code39. Angle = Angle. Degree0;
Valid values are:
Angle.Degree0
Angle.Degree90
Angle.Degree180
Angle.Degree270
// Apply a * in the beginning and end of barcode text
code39. ShowCode39StarStop = false;
Text setting for Code 39 with C#.NET
// If true, show human readable text under the barcode
code39.ShowText = true;
// Setting the font style of the barcode text
code39.TextFont = new Font("Arial", 9f, FontStyle.Regular);
// Set the space between barcode and text. Default is 6 pixel.
code39.TextMargin = 6;
Format setting for Code 39 with C#.NET
// Generate Code-39 and encode barcode to gif format
code39.Format = ImageFormat.Gif;
code39.drawBarcode("c:/code-39.gif ");
I & N Setting of Code 39
// Set space between 2 characters; the default is 1.
code39.I = 1.0f;
// Set the wide/narrow ratio, 2.0 - 3.0 inclusive, default is 2.
code39.N = 2.0f;

Drag and Drop Code 39 Linear Barcodes to C#.NET Form

  1. Download the Code 39 barcode generation SDK and unzip it. Copy the generation dll to your C#.NET project folder.
  2. After the installation, open the project in Visual Studio.
  3. Right click Toolbox in Visual Studio then click (Choose Item) button. Click button (Browse) in the Choose Toolbox Items dialog.
  4. Find the C#.NET barcode dll, and then click (OK).
  5. The barcode items will be in the (Component) section of the Tools Palette.
  6. Drag and drop the barcode control in the toolbox to your .NET Windows Form. Double click the barcode image in the forms.
  7. It is easy to generate barcode by using C# code.