VB Imaging - VB Identcode Generator Tutorial
Generate Identcode Barcode in VB.NET Document & Image Processing Application
VB Imaging - Identcode Creating Add-On Overview
RasterEdge .NET Image Barcode Creator SDK control offers VB.NET developers the most professional Identcode barcode generator which can be implemented into various .NET development environments. VB.NET developers are able to create Identcode on images (supporting images: GIF, PNG, BMP, JPEG & TIFF) and documents (supporting documents: PDF, TIFF & Word) in VB ASP.NET Web and VB.NET Windows Forms applications.
asp net mvc show pdf in div,
asp.net image thumbnail viewer,
asp.net view excel in browser,
asp.net add text to pdf field,
asp.net pdf viewer free,
pdf editor asp.net,
best pdf preview in asp net c#.
And this page is designed to demonstrate how to add and create Identcode on document image within VB Windows project.
Apart from adding Identcode on document image, VB.NET Imaging Identcode Barcoding Control and RasterEdge .NET Imaging Library DLL allow users to print the created barcode graphic image in both high and low resolution without invoking any other image viewing or processing application. Identcode Barcode Creator Add-on of RasterEdge DocImage SDK for .NET is a price-competitive, fast and royalty-free barcode generator toolkit, which can be perfectly integrated into VB.NET class image & document manipulating applications for Identcode barcode generation on target document and image files by VB.NET programming.
itextsharp c# pdf page number,
c# split pdf by bookmark,
convert text file to pdf using c#,
how to add image in pdf header using itext c#,
c# redact pdf,
c# pdf split merge,
convert pdf to html vb.net.
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 edit pdf page:
ASP.NET PDF Pages Edit Control: add, remove, sort, replace PDF pages online using C#
mvc pdf editor: ASP.NET MVC PDF Viewer & Editor: view, annotate, redact, edit PDF document in C# ASP.NET MVC
Now, please have a look at the key features of RasterEdge Visual VB.NET Identcode barcode creator add-on.
Implement Identcode Barcode Generator into VB.NET application to produce high quality Identcode barcode image
100% managed Identcode barcoding methods that are compatible with VB.NET Windows application and VB web project
Customize Identcode barcode special character N, barcode related size, color and barcode text font style with VB demo code
High capability to change Identcode barcode angle of 0, 90, 180 or 270 degrees in VB.NET
VB.NET imaging saving API allows users to store created Identcode barcode image to memory or local file
Free to decide to save the created barcode as image or document format by using flexible APIs
Able to print Identcode barcode image in high quality without use of barcode fonts in VB.NET project
VB Code for Customizing Identcode Barcode Generation
You can easily generator Identcode barcode and save it to image files/object using this VB.NET barcode generator control. The following steps will show how to create a Identcode type barcode encoding numeric data text "01234567890" 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 Identcode barcode.
'create a barcode
Dim barcode As Linear = New Linear()
'select barcode type
barcode.Type = BarcodeType.IDENTCODE
'set barcode data
barcode.Data = "01234567890"
'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")
|

|
|
VB Imaging - Create Identcode Barcode on Image
As a part of RasterEdge DocImage SDK for .NET, this barcode creator add-on can be easily integrated into VB.NET image editing applications. Using this .NET Identcode barcode generator add-on, VB.NET developers are able to draw and add Identcode barcode on png, gif, jpeg and bmp raster image files. Besides, this VB.NET Identcode barcode creator add-on adopts the application of X and Y location, which helps developers to insert created Identcode barcode into the target place of image file.
Dim image As REImage = New REImage("C:\\Sample.png")
barcode.DrawBarcode(image, 150F, 150F)
image.Save(ImageType.PNG, "C:\\Sample_Barcode.png")
|
VB Imaging - Draw Identcode Barcode on Document
This .NET Identcode barcode generator control can be also used in VB.NET document processing applications. With this VB.NET Barcode Creator Add-on, it is an easy task to generate & insert an Identcode barcode image into PDF, TIFF, Word, Excel or PowerPoint document file. In details, if your target document is a multi-page file, RasterEdge Identcode barcode creator SDK allows you to select one defined page from source file and insert Identcode barcode accurately into the selected document page using VB.NET class code.
Insert Identcode Barcode into 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")
|
Insert Identcode Barcode into 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")
|
Add Identcode Barcode on 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")
|
Generate Identcode 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")
|
Create Identcode Barcode on PowerPoint
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")
|
Complete VB Code for Customizing Identcode Barcode Creation
Using the VB code below, you can insert an Identcode on a png image file. Besides, you are also given the ability to adjust each property value of generated Identcode barcode, such as size, color and resolution.
'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.IDENTCODE
'set barcode data
barcode.Data = "01234567890"
'Identcode size settings
barcode.UOM = UnitOfMeasure.PIXEL
barcode.X = 2.0F
barcode.Y = 80F
barcode.BarcodeHeight = 120
barcode.BarcodeWidth = 120
barcode.BottomMargin = 20
barcode.TopMargin = 20
barcode.BottomMargin = 20
barcode.LeftMargin = 20
barcode.RightMargin = 20
barcode.AutoResize = false
barcode.BarAlignment = AlignmentHori.Center
'Identcode unique settings
barcode.N = 2
'color related settings
barcode.BackColor = System.Drawing.Color.White
barcode.ForeColor = System.Drawing.Color.Black
'human-readable text related settings
barcode.ShowText = true
barcode.TextFont = New Font("Arial", 9f, FontStyle.Regular)
barcode.TextMargin = 6F
barcode.TextColor = System.Drawing.Color.Black
'other related settings
barcode.Resolution = 96
barcode.Rotate = Rotate.Rotate0
'draw barcode on REImage with location x and y
barcode.DrawBarcode(reImage, 0, 0)
reImage.Save(ImageType.PNG, "c:/barcode.png")
|