VB Imaging - VB MSI Plessey Barcode Tutorial
How to Generate MSI Plessey Barcode Image in VB.NET Imaging Project
VB Imaging - MSI Plessey Barcode Generator Overview
RasterEdge .NET Barcode Add-on is the most professional barcode toolkit on the market. Our MSI Plessey Creator in VB.NET is designed to allow VB.NET developers and non-professional end users to create and customize MSI Plessey barcode on image and document in high efficiency with easy to configure barcoding parameters.
itextsharp page number total pages in c#,
c# make thumbnail of pdf,
c# generate pdf with images,
c# resize pdf,
itextsharp jpg to pdf vb.net,
how to crop a pdf in c#,
vb.net pdf add pages.
Related .net document control helps:
asp.net edit pdf page control:
ASP.NET PDF Pages Edit Control: add, remove, sort, replace PDF pages online using C#
mvc document viewer: ASP.NET MVC Document Viewer: view, annotate, redact files on ASP.NET MVC web projects
asp.net office document viewer: ASP.NET Office Word Document Viewer: view Word doc files online using C# in ASP.NET MVC web applications
asp.net mvc pdf editor control: ASP.NET MVC PDF Viewer & Editor: view, annotate, redact, edit PDF document in C# ASP.NET MVC
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 dicom web viewer: ASP.NET Dicom Document Viewer Control: view, annotate dicom imaging files online in ASP.NET
asp.net view excel in browser: ASP.NET Excel Viewer in C# Control (MVC & WebForms): view Office Excel document in web browser.
MSI Plessey, also can be called Modified Plessey, is based on the original Plessey Code. It is a continuous barcode symbology & not self-checking, and its encodable data are 0-9 characters. MSI Plessey is often used to mark retail shelves for inventory control, storage containers and shelves in warehouse environments.
asp.net tiff viewer control,
asp.net view image,
embed pdf in mvc view,
asp.net itextsharp add image to pdf,
asp.net core pdf preview,
edit pdf in asp.net mvc,
pdf viewer for asp.net web application.
Use VB.NET MSI Plessey generation package to create and particularize MSI Plessey in VB.NET application:
Reliable and mature MSI Plessey barcoding package consists of indispensable VB.NET barcoding & imaging libraries
Able to insert and write MSI Plessey barcode on any Windows operating system
Quiclky and precisly integrate MSI Plessey barcode creating tool into your VB.NET Windows or Web application
Barcode orientation allows for changes among 0, 90, 180 or 270 degrees in VB class
With MSI Plessey size setting options, the barcode X & Y dimension, barcode width & height and related four margins are all adjustable
Change MSI Plessey fore & back colors and image format (gif, bmp, png, jpeg and tiff) under VB.NET barcode color and image adjusting functions
.NET imaging printing permissions enable VB users to print MSI Plessey barcode image within Windows or Web application
Add and define MSI Plessey barcode on image files: jpeg, png, gif, bmp & tiff within VB.NET program
Draw and customize MSI Plessey barcode on PDF, TIFF & Word documents by using VB.NET class library
Detailed and comprehensive VB.NET sample code for writing & personalizing MSI Plessey barcode
VB Code for Customizing MSI Plessey Barcode Generation
You can easily generator MSI Plessey barcode and save it to image files/object using this VB.NET barcode generator control. The following steps will show how to create a MSI Plessey type barcode encoding numeric data text "112233445566" 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 MSI Plessey barcode.
'create a barcode
Dim barcode As Linear = New Linear()
'select barcode type
barcode.Type = BarcodeType.MSI
'set barcode data
barcode.Data = "112233445566"
'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 - How to Create MSI Plessey on Image
This VB.NET MSI Plessey Barcode Generator makes it extremely easy to generate & create MSI Plessey barcode on common image files including popular image formats png, gif, jpeg and bmp in VB.NET class applications, such as .NET WinForms, ASP.NET web applications, Visual VB.NET Class Library, and so on.
Copy VB.NET code below to print an MSI Plessey bar code with numeric data "112233445566" encoded. You are able to set basic parameters, such as barcode width & height, margins on four sides, barcode color & orientation, and finally you can save it to your local disk.
Dim image As REImage = New REImage("C:\\Sample.png")
barcode.DrawBarcode(image, 150F, 150F)
image.Save(ImageType.PNG, "C:\\Sample_Barcode.png")
|
VB Imaging - How to Draw MSI Plessey on Document Page
If you want to generate an MSI Plessey barcode at certain area of a document file, like Word, Excel, PowerPoint, PDF and TIFF, this VB.NET barcode creator control can fully meet your requirement. It allows you to select one page from a PDF, multi-page TIFF, Excel, PowerPoint or Microsoft Office Word document, and specify a certain area on that page to generate MSI Plessey barcode. Please refer to the examples below to get barcode generation demos for each file type respectively.
How to Create MSI Plessey Barcode 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 MSI Plessey Barcode on Multi-page 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 Write MSI Plessey 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")
|
How to Draw MSI Plessey 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")
|
How to Draw MSI Plessey 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")
|
VB Code for MSI Plessey Barcode Customization
The VB code below contains all the parameters that can be used to customize MSI Plessey barcode generation in VB.NET imaging project. Below is just an example of generating an MSI Plessey barcode on a png image file within a .NET class 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.MSI
'set barcode data
barcode.Data = "112233445566"
'MSI Plessey 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
'MSI Plessey unique settings
barcode.AddCheckSum = true
'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")
|