How to Generate EAN-13 in VB.NET Application
How to Generate & Print EAN-13 Linear Barcode Image with VB Demo Code
- Written in C#.NET with full integration into .NET Framework 2.0, 3.0, 3.5 and above versions
- Latest GS1 specification pre-configured to encode valid EAN-13 barcodes
- Print 1D EAN-13, EAN-13+2, EAN-13+5 barcodes with VB.NET programming
- Easy to install dynamic EAN-13 in .NET projects like ASP.NET websites and WinForms
- Adjust 1D EAN-13 barcode image resolution in VB.NET to be compatible with all printers
- Simple to adjust EAN-13 barcode settings like width, height, font, orientation, etc
- Create multiple EAN-13 barcodes in Png, Jpeg/Jpg, Gif, Bmp/Bitmap & Tiff image formats
- Automatically add checksum digit for EAN-13 barcode according to GS1 standard
EAN-13 Barcode Creator Overview in VB.NET
EAN-13 encoder API SDK in VB.NET uses a barcoding function of KA.Barcode Generator for .NET Suite that supports generating and printing EAN-13, EAN-13+2 & EAN-13+5 barcode images in .NET projects like ASP.NET web forms, Console Applications, RDLC Reports and Crystal Reports. Furthermore, developers can adjust barcode properties for the generated EAN-13 with VB.NET demo code below. Download KA.Barcode for .NET Suite evaluation package for free
EAN-13 Barcode Introduction
EAN-13, also named as European Article Number 13, EAN/UCC-13, GS1-13 & GTIN-13, with variants EAN-13 Supplement 2 (a two-digit add-on barcode) & EAN-13 Supplement 5(a five-digit add-on barcode), is a linear barcode which encodes numeric-only data.
EAN-13 Encodable Characters
- EAN-13 Encodable Data: Numeric digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
- EAN-13 Data Capacity: 13 numeric digits
- (Our software automatically adds the last check digit for you, so you can simply input 12 digits.)
Create EAN-13 in ASP.NET with VB Class
This EAN-13 barcode greator dll supports EAN-13 barcode creation in ASP.NET web forms. Download its free evaluation version and use offered VB sample code to get customized EAN-13 barcode image. You can refer to the tutorial for barcode creation in ASP.NET with VB class
Insert EAN-13 in .NET WinForms with VB Class
Creating EAN-13 barcode images with this barcode control is an easy job. You only need to download the trial version of .NET Barcode Generator and copy the VB sample code provided online. For more information about barcode generation in .NET WinForms using VB class, you may read this VB.NET barcode generation guide in WinForms carefully
Add EAN-13 in Crystal Reports with VB Class
For developers who want to create standard EAN-13 barcode images in Crystal Reports with VB class, this VB.NET Barcode SDK is the best choice. This barcode SDK is easy-to-use and no activation key is required. And a detailed developer guide for VB barcode generation in Crystal Reports
is also provided.
Generate EAN-13 in RDLC Reports with VB Class
Here is a specific tutorial for VB barcode generation in RDLC Reports
. This page will let you know how to generate EAN-13 barcode in RDLC Reports using VB.NET programming with free demo code.
Generate EAN-13 Using VB.NET Sample Code
With the VB sample code provided below, you can easily create EAN-13 barcode image in VB.NET. Before that, you may download our VB.NET Barcode Generator Trial and add related reference to your project. You can also change parameters of the generated EAN-13 barcode
based on your needs.
VB Sample code
Dim ean13 As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode
ean13.Symbology = KeepAutomation.Barcode.Symbology.EAN13Sup2
ean13.CodeToEncode = "131310000013"
'Apply checksum for EAN13 barcode.
ean13.ChecksumEnabled = True
'Display checksum in the EAN13 barcode text
ean13.DisplayChecksum = True
'EAN13 unit of measure, Pixel, Cm and Inch supported.
ean13.BarcodeUnit = KeepAutomation.Barcode.BarcodeUnit.Pixel
ean13.DPI = 72
'Set EAN13 image size
'EAN13 bar module width (X dimention)
ean13.X = 1
'EAN13 barcode image width (X dimention)
ean13.BarCodeWidth = 160
'EAN13 bar module height (Y dimention)
ean13.Y = 60
'Image left margin size, a 10X is automatically added according to specification.
ean13.LeftMargin = 0
'Image right margin size, a 10X is automatically added according to specification.
ean13.RightMargin = 0
'EAN13 image top margin size'
ean13.TopMargin = 0
'EAN13 image bottom margin size'
ean13.BottomMargin = 0
'EAN13 Supplimental data settings.
'To enable this, you need to set Barcode Symbology into "EAN13Sup2" or "EANSup5" first.
'Supplement code. It should be 2 or 5 digits
ean13.SupplementCode = "02"
'Supplement bar height vs primary bar height ratio.
ean13.SupplementHeight = 0.8F
'Space between barcode and supplement barcode
ean13.SupplementSpace = 15
'Orientation, 90, 180, 270 degrees supported' EAN13 image bottom margin size
ean13.Orientation = KeepAutomation.Barcode.Orientation.Degree0
ean13.ImageFormat = System.Drawing.Imaging.ImageFormat.Tiff
'Set EAN13 human readable text style
ean13.DisplayText = True
ean13.TextFont = New Drawing.Font("Arial", 10.0F, Drawing.FontStyle.Regular)
'Space between barcode and text
ean13.TextMargin = 6
VB - Web EAN-13VB - Windows EAN-13VB - Crystal EAN-13VB - RDLC EAN-13VB - EAN-13|
How To StartUsing C#Using VB.NETData Matrix for VB.NETPDF417 for VB.NETQR Code for VB.NETmoreCodabar for VB.NETCode 39 for VB.NETCode 128 for VB.NETEAN-8 for VB.NET
EAN-13 for VB.NETEAN 128 for VB.NETIntelligent Mail for VB.NETInterleaved 2 of 5 for VB.NETISBN for VB.NETITF-14 for VB.NETRM4SCC for VB.NETUPC-A for VB.NETUPC-E for VB.NETmore