VB Imaging - Micro QR Code Generation Guide
Create Micro QR Code on Image, TIFF, PDF, Word, Excel & PPTX in VB.NET Project
VB Imaging - VB Micro QR Code Barcode Generator Overview
Micro QR Code Generator for VB is simply one barcode writing functionality of RasterEdge .NET imaging toolkit. With this component DLL, users can develop VB.NET applications to create, print Micro QR Code 2D bar codes in images such as png, jpeg/jpg, gif and bmp.
asp.net edit pdf,
asp.net pdf preview,
asp net mvc generate pdf from view itextsharp,
asp.net display tiff images,
asp net show word document in browser,
how to show pdf file in asp.net page c#,
how to add header and footer in pdf using itextsharp in asp.net.
Besides these image formats, PDF, TIFF, Word, Excel and PowerPoint documents are also supported for barcode generation. Developers can easily resize barcode image, change colors, and customize resolution & orientation using Visual VB.NET coding.
vb.net pdfsharp convert pdf to image,
convert csv to pdf c#,
c# code to compress pdf,
c# create pdf preview,
vb.net itextsharp split pdf,
c# pdf number of pages,
add watermark to pdf vb.net.
Related .net document control helps:
asp.net edit pdf text:
ASP.NET PDF Text Edit Control: online edit PDF text content using C# ASP.NET
asp.net image viewer: ASP.NET Image Viewer Control(MVC & WebForms): view, annotate, redact, convert image files in html, JQuery
asp.net powerpoint viewer: ASP.NET PowerPoint Document Viewer Control (MVC & WebForms): view ppt, pptx files online in C# using ASP.NET
asp.net pdf viewer: ASP.NET PDF Viewer Control: view, navigate, zoom Adobe PDF document in C# ASP.NET
asp.net document viewer 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:
EdgeDoc:ASP.NET Document Viewer C# Control:
Open, view, annotate, redact, convert documents online in C#, VB.NET, AS...
asp.net annotate pdf:
ASP.NET Annotate PDF Control: annotate, comment, markup PDF document online using ASP.NET C#
Detailed features are listed below:
Draw scannable Data Matrix barcodes using Visual VB.NET programming
Write, create Data Matrix 2D barcode images on Png, Jpeg, Gif, and Bmp file formats
Add and print Data Matrix to TIFF, PDF, Word, Excel as well as PowerPoint in Visual VB.NET
Customize various Data Matrix settings, like image size, rotation/orientation, data mode, margins, ECL, color and more
Easily generate Data Matrix barcode images in VB.NET Windows & ASP.NET web applications
Compatible with latest GS1 specification for valid barcode scanning
Accurately insert high-quality Micro QR Code barcode into desired location of source document image using VB.NET code
Allow VB.NET programmers to create Micro QR Code barcode on image file without using external image editors
Offer complete APIs for developers to customize Micro QR Code barcode generation on image using VB.NET code
Support other linear and 2d barcode writing on document image, like QR Code and Code 128
VB Code for Customizing Micro QR Code Barcode Generation
You can easily generator Micro QR Code barcode and save it to image files/object using this VB.NET barcode generator control. The following steps will show how to create a Micro QR Code 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 Micro QR Code barcode.
Dim barcode As MicroQRCode = New MicroQRCode ()
'create a Data Matrix barcode
'encode data into Data Matrix barcode
barcode.Data = "123456789"
'set module size
barcode.X = 5.0F
'the minimum value for each margin should be equal to X
barcode.RightMargin = barcode.LeftMargin = barcode.TopMargin = barcode.BottomMargin = barcode.X
'set barcode printing resolution
barcode.Resolution = 96
'set rotation
barcode.Rotate = Rotate.Rotate0
barcode.BarcodeHeight = 200
barcode.BarcodeWidth = 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 - Draw Micro QR Code on Image File
If you want to add Micro QR Code barcode generating features to your VB.NET image processing application, try this .NET Barcode Creator Add-on, which supports common raster image file formats: png, gif, jpeg, and bmp. Copy the sample code below to your VB imaging program and you can create a Micro QR Code on the bottom left corner of a sample png image.
You can change the location by setting X and Y coordinates in Visual VB.NET sample codes. For more Micro QR Code parameters, please refer to the table demonstrated below.
Dim image As REImage = New REImage("C:\\Sample.png")
barcode.DrawBarcode(image, 150F, 150F)
image.Save(ImageType.PNG, "C:\\Sample_Barcode.png")
|
VB Imaging - Create Micro QR Code on Document Page
Besides .NET imaging applications, developers can also apply this barcode DLL to VB.NET document manipulating project. Currently we support document types like PDF, TIFF, Microsoft Word, Excel and PPTX, both single page file and multi-page ones. Displayed below are VB examples for drawing Micro QR Code to supported documents.
VB Code to Create Micro QR Code 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")
|
VB Code to Draw Micro QR Code 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")
|
VB Code to Draw Micro QR Code 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")
|
VB Code to Add Micro QR Code Image 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")
|
Draw Micro QR Code on PowerPoint Slide in VB.NET
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")
|