Set custom caption with barcode sdk is simple to apply in VB.NET if you use these source codes below. 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 set custom caption with barcode sdk in VB.NET.
This prolific sample source code in VB.NET for ByteScout Barcode Suite contains various functions and other necessary options you should do calling the API to set custom caption with barcode sdk. Follow the instructions from scratch to work and copy the VB.NET code. Use of ByteScout Barcode Suite in VB.NET is also described in the documentation included along with the product.
You can download free trial version of ByteScout Barcode Suite from our website to see and try many others source code samples for VB.NET.
Imports System.Drawing Imports Bytescout.BarCode Module Module1 Sub Main() ' Create new barcode Dim barcode As New Barcode() ' Set symbology barcode.Symbology = SymbologyType.Codabar ' Set value barcode.Value = "123456" ' Set custom caption barcode.Caption = "Custom caption" ' Set caption font barcode.CaptionFont = New Font("Comic Sans MS", 12) ' Set caption position barcode.CaptionPosition = CaptionPosition.Above ' Save barcode to image barcode.SaveImage("result.png") ' Show image in default image viewer Process.Start("result.png") End Sub End Module