BizCode Barcode Generator for .NET Ultimate
The most robust & powerful barcode generating SDK for Microsoft .NET Framework
Quick Overviews
  • Mature barcode creating SDK
  • Support .NET 2.0/3.0/4.0
  • 100% developed in C#.NET
  • Dynamic barcodes support
  • User-defined controls provided
How to Encode Code 39 Data in C#
C#.NET Code 39 Generator is a quality Code 39 generator for Visual C# development exclusively. .NET Winforms and Web forms in different project types are supported. It is able to create dynamic Code 39 barcode image in C#.NET applications, including Code 39 Extension barcodes.
C#.NET Code 39 Generator creates Code 39 barcodes compatible with ISO / IEC 16388 (2nd edition 2007-05-15). It is easy to add asterisks symbol (*) to Code 39 as start and stop character. The document tells you the way to encode Code 39 and Code 39 Extension barcode in C#.NET. If you want to customize Code 39 and Code 39 Extension barcodes, please see:
Code 39 Data Related Properties

Symbology

Users may easily generate Code 39 barcode and Code 39 Extension barcodes using Symbology property.

C#.NET Code 39 Barcode Generator encodes:
  • Numeric Characters: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
  • Uppercase alphabet: A - Z
  • Punctuations: -(Dash), $ (Dollar), % (Percentage), (Space), . (Point), / (Slash), + (Plus)
C#.NET Code 39 Extension Barcode Generator encodes:
  • Numeric Characters: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
  • Uppercase alphabet: A - Z
  • Lowercase alphabet: a - z
  • Punctuations: -(Dash), $ (Dollar), % (Percentage), (Space), . (Point), / (Slash), + (Plus)

Code

Users may easily change Code 39 barcode and Code 39 Extension barcode data string with variable length using Code property.

ProcessTilde

Users may simply encode some special characters in Code 39 and Code 39 Extension barcode with a tilde characters "~" using ProcessTilde property.
  • 1-byte character: ~0dd/~1dd/~2dd (character value from 000 ~ 255); ASCII character '~' is presented by ~126 Strings from "~256" to "~299" are unused

Check Digit Calculation

Users may add and display an optional Modulo 43 check digit for Code 39 and Code 39 Extension barcodes in accordance with their needs using AddChecksum and DisplayChecksumDigit properties.

Human-readable Text

Users may simply customize human-readable text and enable it under generated Code 39 and Code 39 Extension barcode using DisplayText and Textfont properties.
Customize Code 39 Barcode Data in C#.NET
If you want to encode Code 39 data in C#.NET, be sure that you have installed:
Encode Code 39 Barcode Data in .NET Project Using C# Class
Copy those following code onto your C#.NET projects:
using BusinessRefinery.Barcode;

Linear barcode = new Linear();
barcode.Symbology = Symbology.CODE39;

barcode.drawBarcode2DataFile("c:/code-39-csharp.gif");
Encode Code 39 Extension Barcode Data in C#.NET
Copy those following code onto your C#.NET projects:
using BusinessRefinery.Barcode;

Linear barcode = new Linear();
barcode.Symbology = Symbology.CODE39EX;
barcode.Code = "Code 39 Extension";
barcode.drawBarcode2DataFile("c:/code-39-ex-csharp.gif");
Control Code 39 Barcode Data Length
Code default value in Barcode Generator for .NET Ultimate is "".

Copy those following code to change Code 39 barcode data length:

barcode.Code = "5648";
Add Check Digit for Code 39 Barcode
AddChecksum and DisplayChecksumDigit default value in Barcode Generator for .NET Ultimate are false and true.

Copy those following code to add and display Modulo 43 check digit for Code 39 and Code 39 Extension barcodes:
barcode.AddChecksum = true;
barcode.DisplayChecksumDigit = true;
Display Code 39 Barcode Human-Readable Text
DisplayText default value in Barcode Generator for .NET Ultimate is true.

TextFont default value in Barcode Generator for .NET Ultimate is new Font("Arial", Font.PLAIN, 11).

Copy those following code to show human-readable text with customized font style:
barcode.DisplayText = true;
barcode.TextFont = new Font("Arial", 11.0f, FontStyle.Bold);
Encode Code 39 Barcode Data with "~" in C#.NET
ProcessTilde default value in Barcode Generator for .NET Ultimate is false.

Copy those following code to encode Code 39 barcode data with "~":
barcode.ProcessTilde= true;
barcode.Code = "~189";