C#. Code 128 Generator Data Encoding Tutorial

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


 

C# Code 128 Overview

Code 128, also known as ANSI/AIM 128, ANSI/AIM Code 128, USS Code 128, Uniform Symbology Specification Code 128, is a very capable linear barcode of excellent density, high reliability.

C# Code 128 is a Code 128 generation library for generating Code 128 images in C# applications. Mature and reliable C# Code 128 generator is compatible with the Code 128 latest ISO Standard. Image setting, size setting and data encoding various properties are available for more professional programming.

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




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

 

Code 128 Data Encoding for C#

C# Code 128 data encoding can be set form two aspects which are data character and data length.


Code 128 Valid Character Set in C# ASP.NET web projects

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

All ASCLL 128 Characters

With C# Code 128 valid data, C# Code 128 generation component can encode 3 types of data to generate Code 128 images in various programming written in C#, such as C# .NET programming, C# .NET WinForms projects and C# .NET ASP development and so on.

Encoding Only Numeric digits

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

Linear code128 = new Linear();

code128.Type = BarcodeType.CODE128;

code128.Data = "1234134";

Encoding Only Uppercase Letters

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

Linear code128 = new Linear();

code128.Type = BarcodeType.CODE128;

code128.Data = "ONBARCODE";

Encoding Only Lowercase Letters

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

Linear code128 = new Linear();

code128.Type = BarcodeType.CODE128;

code128.Data = "onbarcode";

Encode Mixed Letters

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

Linear code128 = new Linear();

code128.Type = BarcodeType.CODE128;

code128.Data = "Code128-Data-Encoding";

Code 128 Valid Length on C#.NET Winforms programming

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

Encoding 8 digits

C# Code 128 generation dill can draw Code 128 image with 8 digits length in C# projects:

Linear code128 = new Linear();

code128.Type = BarcodeType.CODE128;

code128.Data = "Barcode128";

Encoding 12 Digits

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

Linear code128 = new Linear();

code128.Type = BarcodeType.CODE128;

code128.Data = "Code128-Data";

Encode 19 Digits

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

Linear code128 = new Linear();

code128.Type = BarcodeType.CODE128;

code128.Data = " Code128-Data-Length";









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.