s

C#. EAN-8 Generator Data Encoding Tutorial

sample source code to input valid data and generate linear EAN-8 images in C# .NET


 

C# EAN-8 Overview

EAN-8, also known as European Article Number 8, UPC-8, GTIN-8, GS1-8, EAN/UCC-8, is the short barcode version of EAN-13 barcode.

C# EAN-8 is barcode generation dill for .NET programming. It can easily generate EAN-8 images in various .NET platforms, such as ASP.NET barcode generator web control, .NET Winforms barcode generator control and Reporting service barcode generation component.

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


 

EAN-8 Data Encoding for C# Class & console application

C# EAN-8 data encoding can be divided into two parts, which are C# EAN-8 character set and C# EAN-8 data length.


EAN-8 Valid Character Set in C# ASP.NET web projects

EAN-8 is a variable linear barcode, which can encode following data:

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

With C# EAN-8 valid data, C# EAN-8 generation component can encode 3 types of data to generate high quality EAN-8 images without distortion in various programming written in C#.

Encoding Only 7 Numeric digits

C# EAN-8 generator can only encode 7 numeric digits to generate EAN-8 barcode image in C# .NET development:

Linear ean8 = new Linear();

ean8.Type = BarcodeType.EAN8;

ean8.Data = "7777777";

Encoding 7 Letters and 2 Supplement Data

C# EAN-8 generator supports encoding 7 letters and 2 supplement data for creating EAN-8 images with C# .NET Winforms EAN-8 generator:

Linear ean8 = new Linear();

ean8.Type = BarcodeType.EAN8;

ean8.Data = "78945641";

ean8.SupData = "45";

Encode7 Letters and 5 Supplement Data

C# EAN-8 generation SDK is compatible with 7 letters and 5 supplement data and special letters together to draw your needed EAN-8 images:

Linear ean8 = new Linear();

ean8.Type = BarcodeType.EAN8;

ean8.Data = "4561234";

ean8.SupData = "45454";









OnBarcode is a market-leading provider of barcode 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 high quality tutorials and guides for various linear, 2d barcode information, such as C# Barcode, QR Code C#, QR Code VB.NET, QR Code ASP.NET, QR Code .NET, ASP.NET Barcode. 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.