VB Imaging - Planet Barcode Generation Guide
VB Code to Generate PLANET Barcode on Documents & Images
VB Imaging - PLANET Barcode Generator Library Overview
VB.NET Planet Barcode Creator Add-on within DocImage SDK for .NET is a well developed and reliable barcoding component that can be used to generate Planet barcode on an image (supported formats are png, gif, jpeg, bmp and tiff) and a document file (supported files are PDF, Word & TIFF).
c# pdf page to bitmap,
vb.net pdf password open file,
c# convert pdf to text file,
c# pdf highlight text,
c# rotate pdf document,
vb.net search pdf for text,
vb.net remove image from pdf file.
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 sharepoint document viewer free: ASP.NET SharePoint Document Viewer: view, annotate, redact documents in SharePoint
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 edit pdf image control:
ASP.NET PDF Image Edit Control: online insert, edit PDF images in C#
Our high performance Planet barcode image creator in VB.NET is extremely comprehensive so that it enables users to draw into document image files with VB.NET Planet barcode. In addition, rich barcode property setting options are available for users to customize Planet barcode parameters accordance with own needs.
display image from database asp.net core,
how to write pdf file in asp.net c#,
asp.net open word document,
asp.net core pdf preview,
pdf viewer in asp.net core mvc,
asp.net display excel spreadsheet,
pdf viewer asp.net control open source.
Benefits of Planet Barcode Generation Component Within VB.NET:
Major benefits of Planet barcode generation component within VB.NET projects and Console Application
VB.NET barcoding image: how to create Planet barcode on image using VB.NET
VB.NET barcoding image: how to generate Planet barcode on document using VB.NET
VB.NET barcoding image: parameters for Planet barcode generation in VB.NET imaging application
Introductions of 1D Planet barcode and its encoding notices for VB.NET
VB.NET Imaging Planet Generator is compatible with Visual Studio 2005 & greater and .NET Framework 2.0 & above versions
Variable VB.NET projects for Planet creation, like VB.NET Windows Forms, VB ASP.NET, and VB Class & Console Application
Barcode size, foreground color, the background color, text font and the image format can be adjusted by using barcode property setting standards
Angle Planet barcode at 0, 90, 180 & 270 degrees in VB.NET barcoding program
Free to decide the output barcode image format as you need, including JPG, GIF, BMP, PNG, and TIFF
Also can save the created Planet barcode image as document file with VB demo code
Barcode image location is adjustable by using our most professional .NET Barcoding SDK Library
VB Code for Customizing PLANET Barcode Generation
You can easily generator PLANET barcode and save it to image files/object using this VB.NET barcode generator control. The following steps will show how to create a PLANET 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 PLANET barcode.
'create a barcode
Dim barcode As Linear = New Linear()
'select barcode type
barcode.Type = BarcodeType.PLANET
'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 to Create PLANET Barcode on Png, Jpeg, Gif and Bmp
.NET developers can use this barcode add-on component to create PLANET linear barcodes in VB projects. All the major raster image formats are supported for barcode generating, such as png, jpg, gif, and bmp. Users can create a single barcode or a number of bar codes on image file, and at the same time, you can freely define the exact area on the image where you want to put PLANET barcode. Demonstrated below is an example to write a PLANET postal bar code on a png image and save the image file to your local disk C.
Dim image As REImage = New REImage("C:\\Sample.png")
barcode.DrawBarcode(image, 150F, 150F)
image.Save(ImageType.PNG, "C:\\Sample_Barcode.png")
|
Create PLANET on PDF, TIFF, Word, Excel and PowerPoint
Apart from printing PLANET 1D bar code on an image, users can also opt to generate PLANET barcode onto a single page within a document file, including PDF, Microsoft Office Word, (multi-page) TIFF, Excel and PowerPoint. You can control the accurate barcode location on the page by setting x and y coordinates using Visual VB programming language.
Generating PLANET 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")
|
Creating PLANET 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")
|
Drawing PLANET Barcode on Microsoft 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")
|
Generating PLANET Barcode on Excel Sheet
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")
|
Writing PLANET 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 Imaging - Entire VB Code to Generate PLANET Barcode
Here is the sample code for creating and customizing PLANET barcode with parameters listed above. Please feel free to make any modification according to your VB imaging program requirements.
'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.PLANET
'set barcode data
barcode.Data = "01234567890"
'PLANET 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
'PLANET unique settings
barcode.ShortTallRatio = 0.4F
'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")
|