EAN-8 Barcode FAQ in ASP.NET Barcode Library SDK

Create, implement and modify UPC-E barcode images in ASP.NET projects using ASP.NET barcode library DLL
Barcode Generator Library SDK for ASP.NET - EAN-8 Barcode FAQ in ASP.NET
It is easy and fast to generate and embed high quality EAN-8 barcode images in .NET windows applications using EAN-8 .NET barcode component DLL for WinForms with various barcode generation method including C# or VB.NET class library. The inserted EAN-8 barcode images in .NET are flexible to be changed to required barcode size, barcode image, barcode color with simple adjustments.
This article tells about EAN-8 barcode image customization in .NET windows applications with .NET barcode control DLL installed in VS Toolbox from the following aspects:
  • Barcode Generator Library SDK for ASP.NET - EAN-8 Barcode Data Encoding
  • Barcode Generator Library SDK for ASP.NET - EAN-8 Barcode Special Settings
  • Barcode Generator Library SDK for ASP.NET - EAN-8 Barcode Size Adjustment
  • Barcode Generator Library SDK for ASP.NET - EAN-8 Barcode Image Customization
  • Barcode Generator Library SDK for ASP.NET - EAN-8 Barcode Solution Project Support
Barcode Generator Library SDK for ASP.NET - EAN-8 Barcode Data Encoding
EAN-8 Linear Barcode Valid Data
The data encodes in EAN-8 is numeric digits from 0 to 9. The value to encode passed to ASP.NET web server barcode library SDK must be 7 digits only because the 8th digit (the checksum) is automatically calculated by Terrek.Barcode Generator SDK. Users are free to input EAN-8 barcode data via BarcodeData property.
Web Stream Sample URL: http://YourDomain:Port/barcode/aspcontrol.aspx?Symbology=10&BarcodeData = 1234567;
EAN-8 Human-readable Text
The human-readable text of EAN-8 is flexible to be enabled or disabled in EAN-8 barcode symbols. Users may implement this property through DisplayData. To enable barcode human readable text, set the DisplayData to true. Once enabling the input data in barcode symbol, text color, text space, and text font style are adjustable via TextColor, TextSpace, TextStyle.
Web Stream Sample URL: http://YourDomain:Port/barcode/aspcontrol.aspx?Symbology=10&BarcodeData = 1234567& DisplayData = true&TextColor=Green&TextSpace=6;
While by disabling the human-readable text, developers may replace it with other necessary information such as company logo, telephone number, fax number, and other special characters that has no connection with barcode data.
Web Stream Sample URL: http://YourDomain:Port/barcode/aspcontrol.aspx?Symbology=10&BarcodeData = 1234567& DisplayData = false;
Barcode Generator Library SDK for ASP.NET - EAN-8 Barcode Special Settings
EAN-8 Supplemental Barcode
EAN-8 ASP.NET barcode library SDK allows users to add 2 or 5 digits supplemental data to the EAN-8 barcode. Once encode the EAN-8 add-on barcodes, the size related properties needs to be set. Users may add supplemental digits using Symbolproperty and customize add-on barcode size by adjusting AddOnData, AddOnHeight, AddOnMargin respectively. Symbol valid value for EAN-8 is EAN8 (10), EAN8_AddOn2 (11), and EAN8_AddOn5 (12).
Web Stream Sample URL: http://YourDomain:Port/barcode/aspcontrol.aspx?Symbology=12&BarcodeData = 1234567& AddOnData=12345& AddOnHeight=0.8& AddOnMargin=2;
Barcode Generator Library SDK for ASP.NET - EAN-8 Barcode Size Adjustment
EAN-8 UOM (Unit of Measure)
Set property MeasuringUnit for properties BarWidth, BarHeight, MarginL and MarginT. PIXEL(0), Valid values are CM(1) and INCH(2). Default is PIXEL (0). With this UOM setting, users can control the whole barcode size to a unique type.
Web Stream Sample URL: http://YourDomain:Port/barcode/aspcontrol.aspx?Symbology=12&BarcodeData = 1234567 &MeasuringUnit=0;
EAN-8 Bar Size
To customize the module size of EAN-8 barcode, users needs to modify the bar width and bar height through BarWidth and BarHeight property. The whole barcode image is changed according to the adjustment of bar width and bar height.
Web Stream Sample URL: http://YourDomain:Port/barcode/aspcontrol.aspx?Symbology=12&BarcodeData = 1234567& BarWidth=2&BarHeight=60;
EAN-8 Image Size
If the module sizes of bar width and bar height are unknown in your ASP.NET application web server, you can set the width and height of the barcode image directly though ImageHeight and ImageWidth property. Once you enabled the image resize function, you only need to provide the size of entire barcode image. This intelligent UPC-E will draw the barcode with reasonable parameters.
Web Stream Sample URL: http://YourDomain:Port/barcode/aspcontrol.aspx?Symbology=12&BarcodeData = 1234567& ImageWidth=100& ImageHeight=100;
EAN-8 Margin Size
Increasing the width of margins around the symbol is one way to enhance the readability of the EAN-8 barcode image by barcode scanner. The ASP.NET barcode control library DLL set the left, right, top, and bottom margins separately with float values. The default value is 0. The properties in VS ASP.NET barcode component SDK are MarginL, MarginR, MarginB and MarginT.
Web Stream Sample URL: http://YourDomain:Port/barcode/aspcontrol.aspx?Symbology=12&BarcodeData = 1234567& MarginL=2& MarginR=2& MarginB=2& MarginT=2;
Barcode Generator Library SDK for ASP.NET - EAN-8 Barcode Image Customization
EAN-8 Image Format
EAN-8 inserted in ASP.NET web server project can be displayed as Gif, Tiff, Bmp, Png, Jpeg and other image formats. Programmers may change the format using BarcodeFormat property. Besides, the developed EAN-8 can be saved as Bitmap, Stream and Graphic .NET objects.
Web Stream Sample URL: http://YourDomain:Port/barcode/aspcontrol.aspx?Symbology=12&BarcodeData = 1234567& BarcodeFormat=Jpeg;
EAN-8 Image Resolution
DPI (Dots per inch) is used commonly as the measure of printing resolution. It allows the customization of images created to support reading small barcodes with barcode readers. The resolution of image generated by EAN-8 ASP.NET barcode control library SDK could be managed with DPI. All in all, whether the resolution is, all types of barcode printers are suitable for printing EAN-8 with high quality and clear image. Users may change DotsPerInch property.
Web Stream Sample URL: http://YourDomain:Port/barcode/aspcontrol.aspx?Symbology=12&BarcodeData = 1234567& DotsPerInch=96;
EAN-8 Image Position
EAN-8 image placement in ASP.NET WebForms may be affected by two factors, one is barcode alignment, and the other is rotation. Programmers may set the position by Rotation and BarAlign respectively. The valid value for alignment is center(1), left(0) and right(2); barcode rotation valid value is 0(0), 90(1), 180(2) and 270(3) degree.
Web Stream Sample URL: http://YourDomain:Port/barcode/aspcontrol.aspx?Symbology=12&BarcodeData = 1234567& BarAlign=1&Rotation=1;
EAN-8 Image Color
It is possible and easy to adjust barcode colors with ASP.NET barcode generator DLL. Both background color and foreground color are simple to be changed by manipulating ImageColor and BarColor respectively. The default value is black and white; users are flexible to change them to whatever you want.
Web Stream Sample URL: http://YourDomain:Port/barcode/aspcontrol.aspx?Symbology=12&BarcodeData = 1234567& ImageColor=BLACK&BarColor=WHITE;
Barcode Generator Library SDK for ASP.NET - EAN-8 Barcode Solution Project Support
It is easy and simple to integrate ASP.NET barcode generator library SDK into IIS or Visual Studio to generate and create high quality EAN-8 barcode images in ASP.NET web server applications as listed below. Guide to insert EAN-8 barcode images in ASP.NET WebForms.
  • Console Application (runtime support)
  • Windows Forms Application (design-time and runtime support)
  • Class Library (runtime support)
  • Windows Service (runtime support)