Quickly learn how to generate qr code barcode with image with barcode sdk in VB.NET with this sample source code. ByteScout Barcode Suite is the bundle that privides 3 SDK products to generate barcodes (Barcode SDK), read barcodes (Barcode Reaer SDK) and read and write spreadsheets (Spreadsheet SDK). It can generate qr code barcode with image with barcode sdk in VB.NET.
Want to quickly learn? This fast application programming interfaces of ByteScout Barcode Suite for VB.NET plus the guidelines and the code below will help you quickly learn how to generate qr code barcode with image with barcode sdk. Simply copy and paste in your VB.NET project or application you and then run your app! Use of ByteScout Barcode Suite in VB.NET is also described in the documentation included along with the product.
ByteScout Barcode Suite free trial version is available on our website. VB.NET and other programming languages are supported.
Imports Bytescout.BarCode Module Module1 Sub Main() Dim decorationImageFile As String = ".\logo.png" Dim outputFile As String = ".\barcode.png" Dim barcodeValue As String = "1234567890 abcdefghijklmnopqrstuvwxyz 1234567890 abcdefghijklmnopqrstuvwxyz" ' Create and activate barcode generator instance Using barcode As New Barcode("demo", "demo") ' Set barcode type barcode.Symbology = SymbologyType.QRCode ' Set high QR Code error correction level barcode.Options.QRErrorCorrectionLevel = QRErrorCorrectionLevel.High ' Set barcode value barcode.Value = barcodeValue ' Add decoration image and scale it to 15% of the barcode square barcode.AddDecorationImage(decorationImageFile, 15) ' Save generated barcode barcode.SaveImage(outputFile) Console.WriteLine("Barcode saved to " + outputFile) Console.WriteLine() Console.WriteLine("Press any key...") Console.ReadKey() End Using End Sub End Module