EAN-13 Barcode Generator/Library for VB.NET
Create high quality EAN-13, supplemental data EAN-13+2, EAN-13+5 with barcode control for VB.NET
EAN-13 Barcode Generator in VB.NET - Overview
Winforms EAN-13 barcode generation control for VB.NET is a mature and professional barcode component to generate EAN-13, EAN-13+2, EAN-13+5 in high quality. Any VB.NET applications such as VB.NET Winforms, VB.NET reporting services, VB.NET class library are available to generate EAN-13 with the installation of EAN-13 barcode control. Once installed, the control may be sized and parameters can be set to meet required specifications.
EAN-13 Barcode Control for VB.NET - Benefits
- It is easy to install and integrate barcode EAN-13 generating component into VB.NET developments.
- Draw and print EAN-13 in SQL server reporting service & crystal reports for VB.NET projects.
- Generate high quality EAN-13 in VB.NET class library and console application.
- Produce easy-to-use EAN-13 in Windows Forms Applications for VB.NET.
- Flexible sizing options allow customization of X dimension, barcode height, barcode width, image width and etc.
- Human readable text can be enabled or disabled in barcode control and below the generated EAN-13.
- The checksum digit of EAN-13 is automatically computed in barcode control for VB.NET.
- Barcode rotate allows 0, 90, 180 or 270 degree changing.
- The barcode can be saved or printed as image without the use of fonts.
- EAN-13 barcode image can be saved as gif, tiff, png, bmp and jpeg.
- It is completely run in Visual Basic.NET and compatible with 2.0, 3.0 and later versions.
- It is compatible with Visual Studio 2005/2008/2010 in Windows 2000 and advanced operating systems.
EAN-13 Barcode Generation Library for .NET Applications
Aspper.com provides complete information of
guideline to generate dynamic EAN-13 barcodes into .NET applications and report solution using VB.NET Class Library.
Create EAN-13 in VB.NET Applications
Installation of EAN-13 Barcode Control in Visual Studio
- First, download VB.NET barcode control and unzip.
- Then, copy the barcode dll to the project folder. Do not copy to the bin directory; visual studio will do so automatically.
- Last, add Aspper barcode control dll to project reference. To achieve this, you should open visual studio, find the solution explore and reference, right click reference and select add reference, add the Aspper barcode control dll to reference.
Generate EAN-13 Barcodes in VB.NET Class Library
Add EAN-13 barcode control dll to your VB.NET project reference.
'EAN-13 Barcode Basic Setting
EAN-13 valid data character set: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
EAN-13 valid data length: 13 digits, including the last check digit, which is automatically computed
Dim barcode As Aspper.Barcode.Encoder.ClassLibrary.BarCode = New Aspper.Barcode.Encoder.ClassLibrary.BarCode
barcode.Symbology = Aspper.Barcode.Encoder.ClassLibrary.Symbology.EAN13
barcode.Data = "510851085108"
'EAN-13 Supplement Data EAN-13+2, EAN-13+5 Set
barcode.Symbology = Aspper.Barcode.Encoder.ClassLibrary.Symbology.EAN13Sup5
barcode.Data = "510851085108"
barcode.SupData = "12345";
barcode.SupHeight = 0.6f;
barcode.SupSpace = 20;
'EAN-13 Barcode Size Related Settings
barcode.UOM = Aspper.Barcode.Encoder.ClassLibrary.UnitOfMeasure.Pixel
barcode.X = 6
barcode.Y = 6
barcode.LeftMargin = 0
barcode.RightMargin = 0
barcode.BarcodeImageWidth = 175
barcode.BarcodeImageHeight = 50
barcode.Angle = Aspper.Barcode.Encoder.ClassLibrary.Angle.Degree0
barcode.AutoResize = True
'EAN-13 Text Related settings
EAN-13 text related settings include text color, text font and whether to show the human-readable text.
barcode.ShowText = True
barcode.TextColor = Color.CadetBlue
barcode.TextFont = New Drawing.Font(("Arial", 11.0F, Drawing.FontStyle.Underline)
'EAN-13 Barcode Image Format Set
barcode.draw(".../ean13.png")