An easy to understand guide on how to change barcode color with barcode sdk in VB.NET with this source code sample. ByteScout Premium Suite can change barcode color with barcode sdk. It can be applied from VB.NET. ByteScout Premium Suite is the set that includes 12 SDK products from ByteScout including tools and components for PDF, barcodes, spreadsheets, screen video recording.
The following code snippet for ByteScout Premium Suite works best when you need to quickly change barcode color with barcode sdk in your VB.NET application. This VB.NET sample code is all you need for your app. Just copy and paste the code, add references (if needs to) and you are all set! Enjoy writing a code with ready-to-use sample VB.NET codes.
All these programming tutorials along with source code samples and ByteScout free trial version are available for download from our website.
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 back color barcode.BackColor = Color.Yellow ' Set fore color barcode.ForeColor = Color.DarkGreen ' Save barcode to image Barcode.SaveImage("result.png") ' Show image in default image viewer Process.Start("result.png") End Sub End Module