We made thousands of pre-made source code pieces for easy implementation in your own programming projects. ByteScout QR Code is the SDK for QR Code barcode generation. This SDK provides full set of features to control output barcodes quality, encoding, size, features. You may change output zize, set an image to be embedded into QR Code barcode generated. Includes special features to encode contact card, URL, phone and other information into QR Code barcode. Can run in batch barcode generation mode. It can generate QR code with image inside in VB.NET.
VB.NET code samples for VB.NET developers help to speed up coding of your application when using ByteScout QR Code. Follow the instructions from the scratch to work and copy the VB.NET code. Code testing will allow the function to be tested and work properly with your data.
Free trial version of ByteScout QR Code is available on our website. Documentation and source code samples are included.
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 QRCode instance Using barcode As New QRCode("demo", "demo") ' Set high QR Code error correction level barcode.QROption_ErrorCorrectionLevel = 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) End Using ' Open the result image in default image viewer (for demo purpose) Process.Start(outputFile) End Sub End Module