C#. Code 39 Generator Data Encoding Tutorial

sample source code to input valid data and generate linear Code 39 images in C# .NET


 

C# Code 39 Overview

Code 39, also known as Alpha39, Code 3 of 9, Code 3/9, Type 39, USS Code 39, or USD-3, is the first alpha-numeric linear barcode symbology used world-wide.

C# Code 39 is a Code 39 generator for C# .NET development, such as C# ASP.NET Code 39 generator web control, C#.NET Winforms Code 39 generator and C#Reporting service Code 39 generation component, which are easy to install and use for generating high-quality Code 39 images. During the generation procedure of Code 39, C# Code 39 provides Code 39 data encoding properties(valid character set and valid data length), which may help you with encoding Code 39.

OnBarcode C# Barcode Generator is designed to generate, create Code 39 and other linear & 2d barcodes in Microsoft Word. Here are some more tutorials for C# Code 39 generation concerning size & image setting.




How to generate, print barcode using .NET, Java sdk library control with example project source code free download:

 

Code 39 Data Encoding for C# Class & console application

C# Code 39 data encoding is made up of two parts, which are C# Code 39 character set and C# Code 39 data length. You may generate Code 39 images with setting these two parts.


Code 39 Valid Character Set for C#.NET web projects

Code 39 is a variable linear barcode, which can encode following data:

Numeric Digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9

Uppercase Letters: A-Z

Special Letters: - (Dash), $ (Dollar), : (Colon), / (Slash), . (Point), + (Plus)

Code 39 Extension can encode:

All ASCLL 128 Characters

With C# Code 39 valid data, C# Code 39 generation library can encode 3 types of data to create Code 39 images in C# programming.

Encoding Only Numeric digits

C# Code 39 generator can only encode numeric digits to generate Code 39 barcode image in C# .NET development:

Linear code39 = new Linear();

code39.Type = BarcodeType.CODE39;

code39.Data = "456231";

Encoding Only Uppercase Letters

C# Code 39 generator supports encoding only special letters for creating Code 39 images with C# .NET Winforms Code 39 generator:

Linear code39 = new Linear();

code39.Type = BarcodeType.CODE39;

code39.Data = "DATA";

Encode Mixed Letters

C# Code 39 generation SDK is compatible with mixed numeric digits and special letters together to draw your needed Code 39 images:

Linear code39 = new Linear();

code39.Type = BarcodeType.CODE39;

code39.Data = "CODE39-DATA-ENCODING";

Code 39 Valid Length on C#.NET Programming

Code 39 is a variable data length barcode type. C# Code 39 can encode 3 types of data length to create high quality Code 39 in various C# projects.

Encoding 8 digits

C# Code 39 generation dill can draw Code 39 image with 6 digits length in C# projects:

Linear code39 = new Linear();

code39.Type = BarcodeType.CODE39;

code39.Data = "CODE-39";

Encoding 10 Digits

C# Code 39 generation library can encode 12 digits to output Code 39 images for C# development:

Linear code39 = new Linear();

code39.Type = BarcodeType.CODE39;

code39.Data = "$BARCODE39";

Encode 17 Digits

C# Code 39 generation component allows encoding 17 digits to create high quality Code 39 images in C#.NET applications:

Linear code39 = new Linear();

code39.Type = BarcodeType.CODE39;

code39.Data = " CODE-39-GENERATOR";

 

Encoding Code 39 Extension Data Encoding for C#

Except Code 39 data encoding, Code 39 Extension, as an extension of code 39, can encode all ASCLL 128 characters including lowercase letters:

Linear code39 = new Linear();

code39.Type = BarcodeType.CODE39;

code39.Data = "C ode39-for-.NET";









OnBarcode is a market-leading provider of barcode imaging generator, reader controls and components for ASP.NET, Windows Forms, WPF, as well Java, Android, iOS (iPhone, iPad) across all major enterprise development platforms. We provides comprehensive tutorials and how-tos for various linear, 2d barcode information, such as C# in ASP.NET, C# .NET, C# Barcode Encoding, C# Barcode Image, VB.NET in ASP.NET, VB.NET Winforms, VB.NET Barcode Encoding. OnBarcode barcode products are supported by RasterEdge ASP.NET Document Viewer, which supports ASP.NET PDF Viewer, ASP.NET MVC Document Viewer, ASP.NET PDF Editor, MVC PDF Viewer. And provide high quality C# Convert PDF to Tiff, C# Convert PDF to Word, C# Convert PDF to HTML, C# Convert PDF to Jpeg images, and their easy and simple documents, like C# PDF SDK, C# extract text from PDF, C# Compress PDF, Print PDF in C# and C# extract image from PDF.
Terms of Use | Privacy Policy
Copyright © OnBarcode.com . All rights reserved.