ASP.NET UPC-A Generator Size Setting Tutorial

sample source code to generate linear UPC-A images and adjust barcode size in ASP.NET

  • ASP.NET Barcode Web Server Control completely coded in C#.NET
  • Easy to use in VB.NET, C#.NET, and Borland Delphi for ASP.NET
  • Draw barcodes in Crystal Reports for ASP.NET Web Forms applications
  • Size bar, space, quiet zons, as well as barcode image in ASP.NET
  • Print flexible-size supplement barcode to accompany UPC-A
  • Compatible with GS1 barcode standars for EAN/UPC
  • Print UPC-A in.NET 2.0 and later version

UPC-A, also known as Universal Product Code version A , UPC Code, UPC Symbol, GTIN-12, GS1-12, UCC-12, is the most common and well-known barcode symbology in the United States.

For more details on how to set the image UPC-A in ASP.NET, please go to ASP.NET UPC-A image setting;

For more details on how to encode the UPC-A valid data set and data length, please go to ASP.NET UPC-A data encoding.

UPC-A in ASP.NET Size Setting Properties

Before setting the size of UPC-A using ASP.NET Barcode Web control, the size setting functions provided the control should be well known.

java barcode generator tutorial, how to generate 2d barcode in crystal report, how to read barcode from pdf file c#, .net barcode reader open source, how to read barcode from image in java, c# create barcode image from string

  • The unit of measure for all size related settings is controlled by UOM property. Pixel (0), inch (1), and cm (2) are supported
  • Module bar size setting:
    • bar width of a UPC-A is set using X property. The value of X is float, default is 1 pixel.
    • bar height of the UPC-A is controlled by property Y. The value of Y is float, default is 30 pixel.
  • UPC-A symbol image size setting:
    • barcodeWidth are used to size the UPC-A barcode image width, whose default value is 0 pixel.
    • barcodeHeight are used to size the height of the barcode image, whose default value is 0 pixel.
  • Supplement barcode size setting:
    • SupHeight sets the height of the supplement barcode if any. The default is 0.8. That is 80% module bar height.
    • SupSpace is designed for sizing the space between UPC-A and add-on symbol, default is 15 pixel.
  • Margin size setting:
    • leftMargin: UPC-A image left margin size, default value is 0 pixel.
    • rightMargin: UPC-A image right margin size, default value is 0 pixel.
    • topMargin: UPC-A image top margin size, default value is 0 pixel.
    • bottomMargin: UPC-A image bottom margin size, default value is 0 pixel.
  • AutoResize are intelligent function that generate UPC-A which is 100% compatible with its symbology specification
  • Human Readable Information size setting:
    • TextMargin sizes the space between symbol and text below symbol, default is 6 pixel.
    • TextFont includes the function to set the font size of the text.

ASP.NET UPC-A Tutorial

Don't know how to install ASP.NET UPC-A Generator Control? View ASP.NET Barcode Generator Control Tutorial.

For more detailed sample code in C#.NET or VB.NET, please click UPC-A in C# and UPC-A in VB.NET.

OnBarcode is a market-leading provider of barcode imaging generator, reader controls and components for ASP.NET, Windows Forms, WPF, as well Java, Android, iOS (iPhone, iPad) across all major enterprise development platforms. We provides comprehensive tutorials and how-tos for various linear, 2d barcode information, such as C# in ASP.NET, C# .NET, C# Barcode Encoding, C# Barcode Image, VB.NET in ASP.NET, VB.NET Winforms, VB.NET Barcode Encoding. OnBarcode barcode products are supported by RasterEdge ASP.NET Document Viewer, which supports ASP.NET PDF Viewer, ASP.NET MVC Document Viewer, ASP.NET PDF Editor, MVC PDF Viewer. And provide high quality C# Convert PDF to Tiff, C# Convert PDF to Word, C# Convert PDF to HTML, C# Convert PDF to Jpeg images, and their easy and simple documents, like C# PDF SDK, C# extract text from PDF, C# Compress PDF, Print PDF in C# and C# extract image from PDF.
Terms of Use | Privacy Policy
Copyright © . All rights reserved.