Barcode in ASP.NET
Barcode Library DLL/SDK to Create Barcode Image in ASP.NET Using VB.NET - Overview
ASP.NET Server Barcode Control & Generator DLL/SDK is a professional barcode generation component based on .NET framework in Visual Studio to generate & print barcode images dynamically in ASP.NET website, web pages, html pages, aspx pages and other ASP.NET applications. This barcode dll is purely managed code written in C#, and compatible with Visual Basic.NET, managed C++, etc.
This article tells about the detail guide of how to create barcode images in ASP.NET using VB.NET with samples. C# barcode programmers may refer to generate & develop barcode images in ASP.NET using C# with free trial barcode DLL. Common developers may interest in generating barcode images in ASP.NET using IIS and barcode control dll. Create Barcode in ASP.NET Using VB.NET with Samples - Prerequisites and Development Requirement
Solution Project Development
DLL for Barcode in ASP.NET Using VB.NET - Installation
It is an easy-to-use barcode dll package for easy installation and distribution. This barcode DLL including features and functions of 40+ linear and 2D barcodes are compiled together. VB.NET class encodes data into the appropriate symbology format and sends the barcode string to the default printer. But the barcode control DLL should be correct installed in VB.NET project. Install Barcode Generator & Library DLL in VB.NET ASP.NET
using Terrek.Barcode; Using VB.NET to Put Barcode Images into ASP.NET with Barcode DLL - Barcode Image Generation
Sample VB.NET Coding to Generate Barcode Images in ASP.NET Project
We use the example of VB.NET generation code to create Data Matrix in ASP.NET web. To create other barcode image, just change the barcode symbols accordingly and modify relevant barcode properties.
Dim DataMatrix As Terrek.Barcode.DotNET.DotNETControl = New Terrek.Barcode.DotNET.DotNETControl DataMatrix.Symbol = Terrek.Barcode.BarcodeSymbol.DataMatrix 'Data Matrix valid character set, including standard ASCII and extended ASCII DataMatrix.BarcodeData = "DataMatrix" 'Data Matrix data mode, including Auto, ASCII, C40, Text, X12, Edifact and Base256 DataMatrix.DataMatrixDataMode = Terrek.Barcode.DataMatrixDataMode.Auto 'Data Matrix format mode, ranging from 8*8 to 144*144 DataMatrix.FormatMode = Terrek.Barcode.DataMatrixFormatMode.Format_36X36 'Data Matrix resize and UOM setting DataMatrix.ImageResize = True DataMatrix.MeasuringUnit = Terrek.Barcode.MeasuringUnit.PIXEL 'Data Matrix use "~" to encode ACSII special character, set to true to encode those special characters DataMatrix.Tilde = False 'Data Matrix structured append function, set true to apply structured append function DataMatrix.StructuredAppend = False 'Data Matrix module width DataMatrix.BarWidth = 2 'Data Matrix entire image width and height DataMatrix.ImageWidth = 100 DataMatrix.ImageHeight = 100 ' Data Matrix margin size of left, right, top and bottom DataMatrix.MarginL = 6 DataMatrix.MarginR = 6 DataMatrix.MarginT = 6 DataMatrix.MarginB = 6 ' Specify Data Matrix image DataMatrix.DotsPerInch = 96 DataMatrix.Rotation = Terrek.Barcode.Rotation.Degree0 DataMatrix.BarcodeFormat = System.Drawing.Imaging.ImageFormat.Jpeg DataMatrix.SaveAsImage("C:\DataMatrix.jpeg") ' Specify Data Matrix image color DataMatrix.ImageColor = Color.White DataMatrix.BarColor = Color.Black |
Copyright © Terrek.com 2014.All rights reserved.
Code 39 .NET | Code 128 ASP.NET | PDF417 C#.NET | Data Matrix VB.NET | QRCode Java | UPC-A Crystal | Linear Barcodes SSRS | 2D Barcodes RDLC |