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.
Code 39 Barcode Generator/Library for Visual C#.NET - Benefits
- 100% managed code created in C# .NET.
- Code 39 barcode generator for C#.NET could easily integrate barcodes in Windows Forms applications, Class Library, Console Application, Windows Control Library and Crystal Reports Application.
- This barcode control support Operating System of vista, Windows 2000, XP, Windows 7, Window Server 2003/2008.
- This library lets you easily drawing and printing Code 39 and extended Code 39 in Visual Studio 2005/2008/2010.
- Code 39 generator supports .NET Framework 2.0, 3.0, 3.5 or greater.
- Code 39 C#.NET SDK calculates the checksum digits automatically. The human-readable text of Code 39 symbology is allowed to be enabled or disabled.
- Barcode images could be rotates clockwise in 4 direction (0, 90, 180, 270 degrees).
- Properties setting includs X-dimension, wide-to-narrow ratio, barcode height, margins using the C#.NET control.
- Code 39 library is compatible with latest barcode standard ISO / IEC 16388.
- Code 39 C#.NET professional supports images formats of JPEG, GIF, BMP, PNG, TIFF.
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
- Download the Code 39 barcode generation SDK and unzip it. Copy the generation dll to your C#.NET project folder.
- Open your project in Visual Studio; add Code 39 barcode generation dll to project reference.
- 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
- Download the Code 39 barcode generation SDK and unzip it. Copy the generation dll to your C#.NET project folder.
- After the installation, open the project in Visual Studio.
- Right click Toolbox in Visual Studio then click (Choose Item) button. Click button (Browse) in the Choose Toolbox Items dialog.
- Find the C#.NET barcode dll, and then click (OK).
- The barcode items will be in the (Component) section of the Tools Palette.
- Drag and drop the barcode control in the toolbox to your .NET Windows Form. Double click the barcode image in the forms.
- It is easy to generate barcode by using C# code.