VB.NET Code 128 Generator Library SDK Integration & Developer Guide

Generate barcode Code 128 images in Visual Basic .NET with complete sample VB.NET source code


  • Generate, create Code 128 in Visual Basic .NET applications
  • Easy to install & integrate barcode Code 128 generation library SDK into VB.NET developments
  • Generate over 30 linear, 2d barcode images in VB.NET including VB.NET QR Code, VB.NET Data Matrix, VB.NET EAN-128, VB.NET Code 39
  • Generate Code 128 images in VB.NET class
  • Create barcode Code 128 in VB.NET ASP.NET web application
  • Print Code 128 barcode in VB.NET Windows Form software
  • Draw Code 128 in SQL Server Reporting Service (SSRS) & Crystal Reports for .NET projects
  • Easy to encode Code 128 images to jpeg, gif, png, tiff, bitmap files in VB.NET program


Index
 

VB.NET Code 128 Generator Introduction

Using VB.NET Code 128 Generator to create Code 128 barcodes in VB.NET program is a simple and easy job. VB.NET Code 128 Generator control is easy to install with a single .NET Barcode generation control. It is easy to generate Code 128 barcodes in VB.NET class with detailed VB.NET Code 128 settings document and complete demo for Code 128 generation in VB.NET provided in this article.


Code 128 Generators

OnBarcode provides several Code 128 Generator components and software, including Code 128 Generator for C#, Code 128 Generator, Code 128 Generator for .NET, Code 128 Generator for Java, Code 128 Generator for ASP.NET.

 

Create Code-128 Barcodes in VB.NET

Creating Code-128 barcode in VB.NET class example:

	Dim barcode As Linear = New Linear
	
	' Code 128 Barcode Basic Settings
	barcode.Type = BarcodeType.CODE128
	
	'   Code 128 Valid data char set:
	'        all 128 ASCII characters (Char from 0 to 127)
	barcode.Data = "112233445566"
	
	'  Set the ProcessTilde property to true, if you want use the tilde character "~" 
	'  to specify special characters in the input data. Default is false.
	'
	'  1) 1-byte character: ~0dd/~1dd/~2dd (character value from 000 ~ 255); ASCII character '~' is presented by ~126
	'         Strings from "~256" to "~299" are unused
	'  2) 2-byte character (Unicode): ~6ddddd (character value from 00000 ~ 65535)
	'         Strings from "~665536" to "~699999" are unused
	barcode.ProcessTilde = True
	
	' 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:/code-128.gif")


VB.NET Barcode Generators Demo Source Codes:









OnBarcode is a market-leading provider of barcode 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 high quality tutorials and guides for various linear, 2d barcode information, such as C# Barcode, QR Code C#, QR Code VB.NET, QR Code ASP.NET, QR Code .NET, ASP.NET Barcode. OnBarcode products support most common barcode symbologies including QRCode C# SDK, Data Matrix in C#.net Control, PDF-417 Componennt in C# .NET, Code 128 VS .net sdk, Code 39 C# library.
Terms of Use | Privacy Policy
Copyright © OnBarcode.com . All rights reserved.