VB Imaging - VB Code 128 Generation Guide
Generate Code 128 Using VB.NET Barcode Image Creator SDK
VB.NET Code 128 Barcoding Add-on Overview
Barcode Creator Add-on from RasterEdge DocImage SDK for .NET is a time-tested & advanced barcode generator component. It is designed to help VB.NET developers integrate Code 128 barcode generating & creating functions into VB.NET image editing and document managing applications.
asp net mvc show pdf in div,
pdf viewer in asp.net web application,
asp.net remove image from pdf file,
pdf preview in asp.net c#,
asp.net core pdf editor,
asp.net open excel file,
display image asp.net.
RasterEdge .NET Imaging Code 128 Barcode Generating tool offers users many benefits including the powerful abilities to write and customize Code 128 on commonly used image and document files within VB Windows and web applications, VB class and VB console libraries. RasterEdge is a professional Code 128 barcode generating and reading SDK provider. With our SDK, VB.NET developers will have ability to write 1D and 2D barcodes on images and documents with accuracy at high speed. All the generated Code 128 barcodes are compatible with ISO / IEC+Code128+15417-2007 barcode symbology specification and are suitable for all printers.
convert txt to pdf c#,
c# pdf remove annotation,
how to make pdf password protected in c#,
c# code to compress pdf file,
c# pdf remove page,
count pages in pdf without opening c#,
c# draw pdf.
Related .net document control helps:
asp.net view tiff images: ASP.NET Tiff Viewer: view, annotate multipage Tiff images in ASP.NET MVC, WebForms using C# Control
asp.net pdf document viewer c#: ASP.NET PDF Document Viewer in C#: open, display, view, annotate, redact Adobe PDF files online in ASP.NET MVC & WebForm...
c# asp.net text file viewer: ASP.NET Text file viewer in MVC, WebForms: Open, view, annotate, convert txt files in C# ASP.NET
asp.net annotate pdf using c#:
ASP.NET Annotate PDF Control: annotate, comment, markup PDF document online using ASP.NET C#
asp.net edit pdf image using c#:
ASP.NET PDF Image Edit Control: online insert, edit PDF images in C#
asp.net mvc word viewer: ASP.NET Office Word Document Viewer: view Word doc files online using C# in ASP.NET MVC web applications
c# asp.net image viewer: ASP.NET Image Viewer Control(MVC & WebForms): view, annotate, redact, convert image files in html, JQuery
Detailed features are listed below:
Easy to install the free trial Code 128 Barcode Generator on your computer
Step by step tutorial for creating a high quality Code 128 on image and document in VB.NET
100% managed Code 128 barcode creating methods that can comply with VB programming language
Completely granted perpetual royalty-free developer licenses once purchased
Powerful and easy to use Code 128 barcode generating toolkit can calculate the checksum digit automatically in VB code
Free to change barcode location with simple API solutions in VB project
Easy to adjust the barcode image resolution to get a high quality barcode image in VB class
Save the created Code 128 barcode graphics separately or together with the original file
VB Code for Customizing Code 128 Barcode Generation
You can easily generator Code 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 Code 128 type barcode encoding numeric data text "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 Code 128 barcode.
'create a barcode
Dim barcode As Linear = New Linear()
'select barcode type
barcode.Type = BarcodeType.CODE128
'set barcode data
barcode.Data = "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 Code 128 Barcode on Png, Jpeg, Gif, & Bmp in VB
VB.NET users can easily create single or multiple Code 128 image(s) independently, or you can draw and add Code 128 barcodes on various image files including popular formats like JPG, JPEG, BMP, PNG, and GIF. Users only need to load your local image and draw Code 128 barcode on the image (after specifying location and Code 128 settings), then the barcode is drawn on the picture! Copy the VB sample code below to your .NET imaging program for a test now! If you have any questions concerning the barcode properties, refer to the table below or contact the customer support service!
Dim image As REImage = New REImage("C:\\Sample.png")
barcode.DrawBarcode(image, 150F, 150F)
image.Save(ImageType.PNG, "C:\\Sample_Barcode.png")
|
Create Code 128 on PDF, Multi-Page TIFF, Word, Excel and PPT
Demonstrated here is the Visual VB 2005 sample code to create Code 128 barcode images on these documents: PDF, multi-page TIFF, Word, Excel and PowerPoint. Developers are allowed to change the local document to be embedded, the barcode location on the specific page and also the Code 128 parameters like resolution, sizing, check digit, etc.
Create Code 128 on Defined PDF Document Area
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")
|
Create Code 128 on Certain TIFF Document Page
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")
|
Create Code 128 on Microsoft Office Word Document
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")
|
Create Code 128 on Microsoft Excel Document
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")
|
Create Code 128 on Microsoft PowerPoint Document
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")
|
Draw Code 128 on Image & Document in VB Code
Generate Code 128 on image and document with mature VB.NET example code. All the properties above are included in the sample code here. Please make any change to these properties if necessary.
'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.CODE128
'set barcode data
barcode.Data = "123456789"
'Code 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 = 96
'set rotation
barcode.Rotate = Rotate.Rotate0
barcode.ShowCheckSumChar = false
barcode.UOM = UnitOfMeasure.PIXEL
'Code 128 colors
barcode.BackColor = System.Drawing.Color.White
barcode.ForeColor = System.Drawing.Color.Black
'Code 128 font style
barcode.TextFont = New Font("Arial", 9f, FontStyle.Regular)
barcode.TextColor = System.Drawing.Color.Black
barcode.TextMargin = 6
barcode.ShowText = true
'Code 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")
|