VB Imaging - Intelligent Mail (OneCode) Generator
Generate Intelligent Mail Barcode on Images & Documents Using VB.NET Code
VB Imaging - Intelligent Mail Barcode Add-On
Intelligent Mail, also known as OneCode, is a numeric linear barcode symbology that can encode a 20-digit, 25-digit, 29-digit or 31-digit data string. This VB.NET Intelligent Mail barcode generator control add-on provides an advanced and effective .NET solution which aims to help VB.NET developers create & draw standard Intelligent Mail barcode on source document image file.
open word document in asp.net c#,
how to edit pdf file in asp.net c#,
asp.net image thumbnail viewer,
imagedraw asp.net multipage tiff viewer,
asp.net core pdf preview,
mvc view to pdf itextsharp,
how to show pdf file in asp.net page c#.
Using VB.NET Barcode Creator Add-on of RasterEdge DocImage SDK for .NET, you can easily integrate fast & accurate Intelligent Mail (OneCode) barcode generating features into VB.NET imaging applications. This professional and 100% clean Intelligent Mail (OneCode) barcode generating SDK allows VB developers to generate Intelligent Mail (OneCode) barcode and draw created barcode on various image files (like GIF) and common document files (like PDF).
c# pdf remove page,
vb.net convert pdf to jpg,
convert csv to pdf c#,
c# parse pdf form,
extract image from pdf c# pdfs,
vb.net pdf reader control,
vb.net pdf add pages.
Related .net document control helps:
asp.net view powerpoint: ASP.NET PowerPoint Document Viewer Control (MVC & WebForms): view ppt, pptx files online in C# using ASP.NET
asp.net edit pdf text using c#:
ASP.NET PDF Text Edit Control: online edit PDF text content using C# ASP.NET
asp.net pdf viewer using c#: ASP.NET PDF Viewer Control: view, navigate, zoom Adobe PDF document in C# ASP.NET
c# asp.net mvc document viewer: ASP.NET MVC Document Viewer: view, annotate, redact files on ASP.NET MVC web projects
asp.net view tiff images: ASP.NET Tiff Viewer: view, annotate multipage Tiff images in ASP.NET MVC, WebForms using C# Control
asp.net mvc pdf editor using c#: ASP.NET MVC PDF Viewer & Editor: view, annotate, redact, edit PDF document in C# ASP.NET MVC
asp.net document viewer example:
EdgeDoc:ASP.NET Document Viewer C# Control:
Open, view, annotate, redact, convert documents online in C#, VB.NET, AS...
Written in managed VB code, this .NET Intelligent Mail (OneCode) barcode generation solution owns fully-featured functions for barcode generation on images and documents. Please look at the benefits of RasterEdge Visual VB.NET Intelligent Mail (OneCode) barcode creator add-on.
100% managed & robust VB.NET Intelligent Mail barcode creating solution that is built in .NET Framework application
Allow VB.NET developers to add Intelligent Mail barcode to common raster image files, like png, gif, jpeg, bmp and tiff
Support Intelligent Mail barcode generation on multi-page PDF, Word or TIFF document files using VB.NET
The position of created Intelligent Mail barcode on source document image file can be accurately defined in VB.NET code
Offer complete APIs for VB.NET developers to create a desired & standard Intelligent Mail barcode on source document file
Compatible with .NET Framework 2.0, 3.0, 3.5, 4.0, 4.5 & 4.6 and Visual Studio 2005, 2008, 2010, 2012, 2013, 2015
VB Code for Customizing Intelligent Mail Barcode Generation
You can easily generator Intelligent Mail barcode and save it to image files/object using this VB.NET barcode generator control. The following steps will show how to create a Intelligent Mail type barcode encoding numeric data text "01234567890123456789" 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 Intelligent Mail barcode.
'create a barcode
Dim barcode As Linear = New Linear()
'select barcode type
barcode.Type = BarcodeType.ONECODE
'set barcode data
barcode.Data = "01234567890123456789"
'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 Intelligent Mail on Image
RasterEdge .NET barcode generator control owns high compatibility with common VB.NET image managing applications. Using this VB.NET Intelligent Mail (OneCode) barcode creator add-on, developers can not only draw an Intelligent Mail (OneCode) barcode on png, gif, jpeg and bmp image files but also accurately specify the generation area where the linear barcode will be created.
Dim image As REImage = New REImage("C:\\Sample.png")
barcode.DrawBarcode(image, 150F, 150F)
image.Save(ImageType.PNG, "C:\\Sample_Barcode.png")
|
VB Imaging - Insert Intelligent Mail into Document Page
This Barcode Creator Add-on for VB.NET class applications can help developers easily integrate advanced Intelligent Mail (OneCode) barcode generating functionalities into your VB.NET document processing projects. The document types that are supported by this VB.NET Intelligent Mail (OneCode) barcode generating and inserting SDK are TIFF, PDF, Word, Excel and PowerPoint.
The VB code demos listed below will help developers finish barcode generation tasks programmatically: specify a page from source document file, create a high-quality Intelligent Mail (OneCode) barcode image and insert created Intelligent Mail (OneCode) barcode into selected document page (with defined location).
How to Draw Intelligent Mail (OneCode) 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")
|
How to Draw Intelligent Mail (OneCode) on 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")
|
How to Create Intelligent Mail (OneCode) 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")
|
How to Print Intelligent Mail (OneCode) 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")
|
How to Generate Intelligent Mail (OneCode) 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")
|
Entire VB Code to Customize Intelligent Mail Generation
The following VB sample code illustrates how to create a customized Intelligent Mail (OneCode) barcode and add generated barcode to a png image file within 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.ONECODE
'set barcode data
barcode.Data = "01234567890123456789"
'Intelligent Mail (OneCode) 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
'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")
|