An easy to understand guide on how to set unicode text in barcode with barcode sdk in VB.NET with this source code sample. ByteScout Barcode Suite is the set that includes three different SDK products to generate barcodes, read barcodes and read and write spreadsheets: Barcode SDK, Barcode Reader SDK and Spreadsheet SDK. It can be applied to set unicode text in barcode with barcode sdk using 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 set unicode text in barcode with barcode sdk. Follow the instructions from scratch to work and copy the VB.NET code. Complete and detailed tutorials and documentation are available along with installed ByteScout Barcode Suite if you’d like to learn more about the topic and the details of the API.
If you want to try other source code samples then the free trial version of ByteScout Barcode Suite is available for download from our website. Just try other source code samples for VB.NET.
Imports Bytescout.BarCode Imports System.Drawing Module Module1 Sub Main() ' Create new barcode Dim barcode As New Barcode() ' Set symbology barcode.Symbology = SymbologyType.QRCode ' set QR code encoding to UTF8 so will be able to encode Unicode barcode.Options.Encoding = System.Text.Encoding.UTF8() ' Set Unicode barcode value barcode.Value = "??" ' show caption for 2d barcodes barcode.DrawCaptionFor2DBarcodes = True ' set caption font to Arial Unicode MS so it will display the caption barcode.CaptionFont = New Font("Arial Unicode MS", 8) ' Save barcode to image barcode.SaveImage("qrcode.png") ' Show image in default image viewer Process.Start("qrcode.png") End Sub End Module