VB Imaging - GS1-128(UCC/EAN-128) Generator
Generate GS1-128 & Insert Barcode into Images and Documents in VB.NET
VB Imaging - GS1-128 Generating Overview
Comprehensive and profession VB.NET GS1-128 Barcode Creator Add-on from RasterEdge DocImage SDK for .NET is a time-tested and advanced GS1-128/EAN-128 barcode generating control. It enables users to generate GS1-128/EAN-128 barcode on five image file formats (including JPEG, PNG, BMP, GIF & TIFF) and three document files(including TIFF, PDF & MS Word) using VB.NET class code. GS1-128 (UCC/EAN-128), owing to its unique feature for carrying information of encoded data, is widely used in international trade field.
excel viewer asp.net c#,
preview pdf in asp.net,
pdf editor in asp net mvc,
asp net mvc 5 pdf viewer,
asp.net pdf viewer disable save,
asp.net remove image from pdf page,
dispaly image asp.net c# from database.
Therefore, a mature GS1-128 (UCC/EAN-128) barcode generating SDK will bring great benefits to your business. To help VB.NET developers have a better grasp of how GS1-128 (UCC/EAN-128) barcode is generated on images and documents using VB.NET code, we provide this online tutorial for users.
c# add watermark to existing pdf file using itextsharp,
create pdf c# itextsharp,
itextsharp add image to existing pdf vb.net,
vb.net pdf create thumbnail,
split pdf using itextsharp c#,
tesseract ocr pdf c#,
c# itextsharp create pdf from template.
Related .net document control helps:
document viewer asp.net c#: ASP.NET Document Viewer using C#: Open, View, Annotate, Redact, Convert document files in ASP.NET using C#, HTML5, JQuer...
asp.net document viewer free:
EdgeDoc:ASP.NET Document Viewer C# Control:
Open, view, annotate, redact, convert documents online in C#, VB.NET, AS...
asp.net pdf editor control: EdgePDF: ASP.NET PDF Editor Web Control: Online view, annotate, redact, edit, process, convert PDF documents
asp.net image viewer jquery: ASP.NET Image Viewer Control(MVC & WebForms): view, annotate, redact, convert image files in html, JQuery
asp.net open word document in browser: ASP.NET Office Word Document Viewer: view Word doc files online using C# in ASP.NET MVC web applications
asp.net sharepoint document viewer free: ASP.NET SharePoint Document Viewer: view, annotate, redact documents in SharePoint
powerpoint viewer asp.net mvc: ASP.NET PowerPoint Document Viewer Control (MVC & WebForms): view ppt, pptx files online in C# using ASP.NET
RasterEdge GS1-128 (UCC/EAN-128) barcode creator SDK is a professional third-party barcode generating toolkit for .NET. This VB.NET linear barcode creator SDK combines advanced & high-quality GS1-128 (UCC/EAN-128) barcode generating features with mature document imaging technologies. Thus, using this GS1-128 (UCC/EAN-128) barcode generating component, VB.NET developers can easily generate and insert created linear barcode into target documents and images.
As is said above, RasterEdge VB.NET GS1-128 (UCC/EAN-128) barcode generator add-on is a fully-featured .NET solution. And the key features of this barcode creator control are listed below.
Easy to incorporate GS1-128 Barcode Creating capability within VB Windows application, VB class and console library
Compatible with the latest GS1 barcoding standard for high quality GS1-128/EAN-128 generation in VB
Use well developed and named RasterEdge .NET Imaging GS1-128/EAN-128 barcoding namespace in VB.NET
Free to generate GS1-128/EAN-128 in VB.NET project comlying with any VS and .NET Framework version
No need to work out checksum digit manually as it can be automatically calculated with VB.NET Imaging Barcoding tool
Set GS1-128 barcode related X, Y dimension, barcode width & height and four margin size in a few seconds
Adopt image processing API to rotate image with created EAN-128 barcode at any angle among 360 degrees in VB class
Adjust EAN-128 barcode image resolution in DPI to fulfill variable barcode image printing requirements in VB.NET
Use image saving options to store created barcode image as an independent image for better viewing
VB Code for Customizing GS1-128 Barcode Generation
You can easily generator GS1-128 barcode and save it to image files/object using this VB.NET barcode generator control. The following steps will show how to create a GS1-128 type barcode encoding numeric data text "(01)123456789" into the image object with XImage.Barcode.Creator.
Add References
RasterEdge.Imaging.Basic.dll
RasterEdge.Imaging.Drawing.dll
RasterEdge.Imaging.Font.dll
RasterEdge.Imaging.Processing.dll
RasterEdge.XImage.BarcodeCreator.dll
System.Drawing.dll
Using Namespaces
using System.Drawing;
using RasterEdge.XImage.BarcodeCreator;
Note: When you get the error "Could not load file or assembly 'RasterEdge.Imaging.Basic' or any other assembly or one of its dependencies. An attempt to load a program with an incorrect format", please check your configure as follows:
If you are using x64 libraries/dlls, Right click the project -> Properties -> Build -> Platform target: x64.
If using x86, the platform target should be x86.
Please copy the sample code as follow to generator a GS1-128 barcode.
'create a barcode
Dim barcode As Linear = New Linear()
'select barcode type
barcode.Type = BarcodeType.EAN128
'set barcode data
barcode.Data = "(01)123456789"
'set x,y position
barcode.X = 1.0F
barcode.Y = 60.0F
'set resolution
barcode.Resolution = 96
'set rotation
barcode.Rotate = Rotate.Rotate0
barcode.BarcodeWidth = 200
barcode.BarcodeHeight = 200
barcode.AutoResize = true
'convert barcode to a bitmap and save it to image file
Dim bmp As Bitmap = barcode.ToImage()
bmp.Save("C:\\barcode.bmp")
|

|
|
Draw GS1-128 Linear Barcode on Image in VB.NET
In daily-life applications, you may need to draw or add GS1-128 (UCC/EAN-128) barcode on some image files for certain purpose. Then this VB.NET GS1-128 (UCC/EAN-128) barcode generator add-on will be a great choice. Using the APIs that RasterEdge .NET GS1-128 (UCC/EAN-128) barcode creator add-on offers, VB developers can accurately draw a standard GS1-128 barcode on target image files (supported image formats are JPEG, BMP, GIF and PNG).
In the following example, we will take GS1-128 barcode generation on a PNG image file as a case to illustrate.
Dim image As REImage = New REImage("C:\\Sample.png")
barcode.DrawBarcode(image, 150F, 150F)
image.Save(ImageType.PNG, "C:\\Sample_Barcode.png")
|
Create GS1-128 on Document in VB.NET
Currently, GS1-128 (UCC/EAN-128) barcode generator add-on for .NET, VB.NET has been widely used in document management and file tracking field. Different from other GS1-128 (UCC/EAN-128) barcode creator SDKs on the market, RasterEdge VB.NET barcode creator add-on allows developers to select one page from source document file (supported document files are PDF, Word, TIFF, Excel and PPTX) and insert a GS1-128 (UCC/EAN-128) barcode into selected document page with accurate location.
Sample VB Code to Create GS1-128 on PDF
Add References(Extra)
RasterEdge.Imaging.Basic.Codec.dll
RasterEdge.XImage.Raster.dll
RasterEdge.XImage.Raster.Core.dll
RasterEdge.XDoc.PDF.dll
Using Namespace(Extra)
RasterEdge.XDoc.PDF;
RasterEdge.Imaging.Basic;
RasterEdge.Imaging.Raster.Core;
Dim docx As PDFDocument = New PDFDocument("C:\\Sample.pdf")
Dim page As PDFPage = docx.GetPage(0)
Dim image As Bitmap = barcode.ToImage() 'Define on the above code
page.AddImage(image, New PointF(100F, 100F))
docx.Save("C:\\Sample_Barcode.pdf")
|
Sample VB Code to Add GS1-128 to TIFF
Add References(Extra)
RasterEdge.Imaging.Basic.Codec.dll
RasterEdge.XImage.Raster.dll
RasterEdge.XImage.Raster.Core.dll
RasterEdge.XDoc.TIFF.dll
Using Namespace(Extra)
RasterEdge.XDoc.TIFF;
RasterEdge.Imaging.Basic;
RasterEdge.Imaging.Raster.Core;
Dim docx As TIFFDocument = New TIFFDocument("C:\\Sample.tif")
Dim page As BasePage = docx.GetPage(0)
Dim image As REImage = New REImage(barcode.ToImage())
page.AddImage(image, New PointF(100F, 100F))
docx.Save("C:\\Sample_Barcode.tif")
|
Sample VB Code to Insert GS1-128 into Word
Add References(Extra)
RasterEdge.XDoc.Word.dll
RasterEdge.XImage.Raster.dll
RasterEdge.XImage.Raster.Core.dll
RasterEdge.XDoc.Office.Inner.Common.dll
RasterEdge.XDoc.Office.Inner..Office03.dll
Using Namespace(Extra)
RasterEdge.XDoc.Word;
RasterEdge.Imaging.Basic;
RasterEdge.Imaging.Raster.Core;
Dim docx As DOCXDocument = New DOCXDocument("C:\\Sample.docx")
Dim page As BasePage = docx.GetPage(0)
Dim image As REImage = New REImage(barcode.ToImage())
page.AddImage(image, New PointF(100F, 100F))
docx.Save("C:\\Sample_Barcode.docx")
|
Demo Code to Create GS1-128 Barcode on Excel
Add References(Extra)
RasterEdge.XDoc.Excel.dll
RasterEdge.XImage.Raster.dll
RasterEdge.XImage.Raster.Core.dll
RasterEdge.XDoc.Office.Inner.Common.dll
RasterEdge.XDoc.Office.Inner..Office03.dll
Using Namespace(Extra)
RasterEdge.XDoc.Excel;
RasterEdge.Imaging.Basic;
RasterEdge.Imaging.Raster.Core;
Dim docx As XLSXDocument = New XLSXDocument("C:\\Sample.xlsx")
Dim page As BasePage = docx.GetPage(0)
Dim image As REImage = New REImage(barcode.ToImage())
page.AddImage(image, New PointF(100F, 100F))
docx.Save("C:\\Sample_Barcode.xlsx")
|
VB Code to Add GS1-128 to PPTX Page
Add References(Extra)
RasterEdge.XDoc.PowerPoint.dll
RasterEdge.XImage.Raster.dll
RasterEdge.XImage.Raster.Core.dll
RasterEdge.XDoc.Office.Inner.Common.dll
RasterEdge.XDoc.Office.Inner..Office03.dll
Using Namespace(Extra)
RasterEdge.XDoc.PowerPoint;
RasterEdge.Imaging.Basic;
RasterEdge.Imaging.Raster.Core;
Dim docx As PPTXDocument = New PPTXDocument("C:\\Sample.pptx")
Dim page As BasePage = docx.GetPage(0)
Dim image As REImage = New REImage(barcode.ToImage())
page.AddImage(image, New PointF(100F, 100F))
docx.Save("C:\\Sample_Barcode.pptx")
|
Sample VB Code to Customize GS1-128 Generation
With the following VB programming code, you can easily draw a fully-customized GS1-128 (UCC/EAN-128) barcode on target PNG image file in VB.NET application.
'create REImage on which you want to draw the barcode
Dim reImage As REImage = New REImage("c:/Sample.png")
'create a barcode
Dim barcode As Linear = New Linear()
'select barcode type
barcode.Type = BarcodeType.EAN128
'set barcode data
barcode.Data = "(01)123456789"
'EAN-128 barcode size related
'set x,y position
barcode.X = 1.0F
barcode.Y = 60.0F
barcode.BarcodeHeight = 60
barcode.BarcodeWidth = 0
barcode.BottomMargin = 0
barcode.LeftMargin = 0
barcode.RightMargin = 0
barcode.BarAlignment = AlignmentHori.Left
'set resolution
barcode.Resolution = 72
'set rotation
barcode.Rotate = Rotate.Rotate0
barcode.AddCheckSum = false
barcode.UOM = UnitOfMeasure.PIXEL
'EAN-128 colors
barcode.BackColor = System.Drawing.Color.White
barcode.ForeColor = System.Drawing.Color.Black
'EAN-128 font style
barcode.TextFont = New Font("Arial", 9f, FontStyle.Regular)
barcode.TextColor = System.Drawing.Color.Black
barcode.TextMargin = 6
barcode.ShowText = true
'EAN-128 special
barcode.ProcessTilde = false
'draw barcode on REImage with location x and y
barcode.DrawBarcode(reImage, 0, 0)
reImage.Save(ImageType.PNG, "c:/barcode.png")
|