Code 39 is a variable length, discrete barcode symbology invented in 1974, also known as Code 3/9, Code 3 of 9, USD-3 or USS Code 39. Similar to Code 128, Code 39 is also widely used in enterprise management, production processes and logistics control systems.
How to Generate Code39
Generating Code 39 in .NET is one of the generation roles in pqScan .NET Barcode Creator. For the further understand of how to generate Code 39 using pqScan .NET Barcode Creator, we provide another three guides:
- Create Code 39 using C# and Visual Basic.NET language.
- Generate Code39 in .NET ASP.NET application.
- Encode Code 39 in .NET Windows Forms programming.
BarType: Making Code 39 barcode, select barcode symbology to Code39.
Data: Uppercase letters (A through Z), numeric digits (0 through 9) and a number of special characters (-, ., $, /, +, %, and space).
ShowText: To show a human-readable text at the bottom of Code39 image. Default is True.
Width: It's barcode image width. Code39 Creator will try to fill the width to encode barcode image, and if the created barcode width is remain smaller than image width, left and right margin will appear on Code 39 barcode image.
Height: It's barcode image height. Code39 Creator will draw barcode full fill the height.
BarcodeColor: Customize the foreground color of Code39 barcode image. Default is Black color.
BackgroundColor: Specify the background color of Code 39 barcode image. Default is White color.
PictureFormat: Make barcode and render image as Gif, Jpeg, Bmp, Tiff, Png format.
// make code39 and print on Bitmap object public Bitmap CreateBarcode() // generate and encode code 39 to image file publicvoidCreateBarcode(string filename) // create code39 and paint on Stream object publicvoidCreateBarcode(Stream stream) // draw and render code 39 to byte[] object publicbyte[] CreateBarcodeInBytes()