- Home
- Products
- Integration
- Tutorial
- Barcode FAQ
- Purchase
- Company
VB.NET UPC-A Generator Library SDK Integration & Developer GuideGenerate barcode UPC-A images in Visual Basic .NET with complete sample VB.NET source code
Index
VB.NET UPC-A Generator IntroductionUPC-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. Using VB.NET UPC-A Generator to create UPC-A barcodes in VB.NET program is a simple and easy job. VB.NET UPC-A Generator control is easy to install with a single .NET Barcode generation control. It is easy to generate UPC-A barcodes in VB.NET class with detailed VB.NET UPC-A settings document and complete demo for UPC-A generation in VB.NET provided in this article.
UPC-A GeneratorsOnBarcode provides several UPC-A Generator components and software, including UPC-A Generator, C# UPC-A, .NET UPC-A, Java UPC-A, ASP.NET UPC-A. Create UPC-A Barcodes in VB.NETCreating UPC-A barcode in VB.NET class example: Dim barcode As Linear = New Linear ' UPC-A Barcode Basic Settings barcode.Type = BarcodeType.UPCA ' UPC-A Valid data char set: ' 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 (Digits) ' UPC-A Valid data length: 11 digits only, excluding the last checksum digit barcode.Data = "01234567890" ' for UPC-A with supplement data (2 or 5 digits) 'barcode.SupData = "12"; ' supplement bar height vs bar height ratio 'barcode.SupHeight = 0.8f; ' space between barcode and supplement barcode (in pixel) 'barcode.SupSpace = 15; ' Barcode Size Related Settings barcode.UOM = UnitOfMeasure.PIXEL barcode.X = 1 barcode.Y = 80 barcode.LeftMargin = 0 barcode.RightMargin = 0 barcode.TopMargin = 0 barcode.BottomMargin = 0 barcode.Resolution = 96 barcode.Rotate = Rotate.Rotate0 ' Barcode Text Settings barcode.ShowText = True barcode.TextFont = New Drawing.Font("Arial", 9.0F, Drawing.FontStyle.Regular) barcode.TextMargin = 6 ' Image format setting barcode.Format = Drawing.Imaging.ImageFormat.Gif() barcode.drawBarcode("c:/upc-a.gif") VB.NET Barcode Generators Demo Source Codes: |