C# EAN-13 Generator Library SDK
Integration & Developer Guide for EAN-13 linear barcode image generation in C#
Generate barcode EAN-13 images in Visual C# .NET with complete sample C# source code
In this tutorial, you will learn how to create, print EAN-13 barcodes using C# in .NET WinForms, WPF, ASP.NET web applications.
How to create EAN-13 barcodes in .NET using C#
C# EAN-13 Generator Introduction
Top
EAN-13, also known as European Article Number 13, UPC-13, GTIN-13, GS1-13, EAN/UCC-13, is the standard barcode version of European Article Number.
C# EAN-13 Generator is one of the functions in OnBarcode's
Barcode for .NET Generation Controls, which supports generating & printing EAN-13 and 20+ other linear & 2D bar codes for C# applications.
OnBarcode C# Barcode Generator makes it easy to generate, create EAN-13 and other linear & 2d barcodes in Microsoft Word. Here are some detailed tutorials for C# EAN-13 generation and data encoding, size & image setting.
EAN-13 Generator library, SDK & application
OnBarcode provides several
EAN-13 Generator components and software, including
.NET EAN-13,
Java EAN-13,
VB.NET EAN-13,
ASP.NET EAN-13,
EAN-13 Generator.
This document is providing a detailed C# source code about generating EAN-13 barcodes in C# class using
Barcode for C# generation component. Complete EAN-13 custmoization settings is included in
C# EAN-13 generation guide.
How to verify, calculate EAN-13 check digit using C#?
Top
Barcode EAN-13 check sum digit is based on a module 10 calculation. Please view
How to calculate EAN-13 barcode check digit
The table below explains how to calculate EAN 13 check digit.
For example, EAN 13 barcode data is "123456789012", and its correct check digit sum is "8".
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
0 |
1 |
2 |
Step 1 |
even |
odd |
even |
odd |
even |
odd |
even |
odd |
even |
odd |
even |
odd |
Step 2 & 3 |
1 |
6 |
3 |
12 |
5 |
18 |
7 |
24 |
9 |
0 |
1 |
6 |
Step 4 |
Total is 92 |
Step 5 |
The next number of 92 is 100, which will be evenly divisible by 10. |
Step 5 |
So the check digit is 8. (100-92=8) |
Create EAN-13 Barcodes in C#
Top
More C# Barcode Generation Tutorials for Each Barcode
Top
Barcode Control for C#.NET - Bar Code Type Generation