UPC-A Barcode FAQ for Winforms

.NET Barcode Component for .NET Winforms, UPC-A Barcode Image, Data, and Size Issues
Terrek Barcode for Winforms - UPC-A Barcode FAQ
Terrek UPC-A .NET Winforms Barcode Generator DLL is designed especially for the encoding and printing of UPC barcode in .NET Windows applications. The control could be added into your Winforms with simple Xcopy and used with simple drag-and-drop technique. The creations of two digits supplement barcode (EAN-2) and 5-digit add-on symbol are supported.
We will walk you through the following aspects of UPC-A barcode generation in .NET Winform in this page:
  • UPC-A in Barcode Winforms Control - Data Encoding Support
  • UPC-A in Barcode Winforms Control - Barcode Scaling Support
  • UPC-A in Barcode Winforms Control - Image Setting Support
  • UPC-A in Barcode Winforms Control - Solution Projects Support
Terrek also provides more UPC-A barcode generators for solutions in distinct developing environments, including UPC-A Reporting Service CRI, UPC-A ASP.NET SDK, UPC-A Excel Add-in, and UPC-A Word Add-in.
UPC-A in Barcode Winforms Control - Data Encoding Support
Valid Data of UPC-A Generator for Winforms:
  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
  • 12 digits including the check digit
Supplement Barcode Encoding
2 or 5 digits supplement barcode could be added to accompany EAN-13. To encode supplement barcode, please select UPCA_AddOn2 or UPCA_AddOn5, then input supplement data. The size of the supplement barcode is adjustable. AddOnHeight defines the height of the add-on symbol. It is a multiple of primary bar height, Y. AddOnMargin is the space between barcode and add-on symbol, measured in pixel.
UPC-A in Barcode Winforms Control - Barcode Scaling Support
Module Bar Size
The width of module bar is managed by BarWidth; the height of bar is controlled by BarHeight.
Margins Width
Increasing the width of margins around the symbol is one way to enhance the readability of the UPC-A barcode image. The control library set the left, right, top, and bottom margins separately with float values.
Image Size
If the breakdown parameters are not provided, you can set the width and height of the barcode image directly. Once you enabled the image resize function, you only need to provide the size of entire barcode image. This intelligent UPC-A will draw the barcode with reasonable parameters. The generated UPC-A is 100% compatible with GS1 Barcode Standards.
UPC-A in Barcode Winforms Control - Image Setting Support
Image Formats
With Terrek Barcode Winforms Control DLL, UPC-A is created as high quality GIF, JPEG, or PNG graphic images. Tiff and Bitmap are supported as well. Please ensure the accordance of image format and suffix of image file name.
Image Resolution
DPI (Dots per inch) is used commonly as the measure of printing resolution. The resolution of image generated by UPC-A generator could be managed with DPI.
Image Rotation
In case of any specified requirement of the image orientation, image rotation function is added to the control library. Rotation angles of 90, 180, and 270 degrees are supported.
UPC-A in Barcode Winforms Control - Solution Projects Support
UPC-A Barcode Winforms Control integrates with the following types of projects:
  • Console Application (runtime support)
  • Windows Forms Application (design-time and runtime support)
  • Class Library (runtime support)
  • Windows Service (runtime support)