These source code samples are listed and grouped by their programming language and functions they use. ByteScout Barcode SDK is the robost SDK that generates high quality barcode images and pdf. Can generate all popular types of barcodes from QR Code, Code 39, Code 128, UPC, GS1, GS-128, PDF417, Datamatrix to more exotic barcode types. Fully customizable fonts, colors, print sizes. Includes special functions to ensure output quality, and tools for adding barcodes to new or existing pdf files and images. It can be used to change barcode color using VB.NET.
You will save a lot of time on writing and testing code as you may just take the VB.NET code from ByteScout Barcode SDK for change barcode color below and use it in your application. In your VB.NET project or application you may simply copy & paste the code and then run your app! Enjoy writing a code with ready-to-use sample codes in VB.NET.
ByteScout free trial version is available for download from our website. It includes all these programming tutorials along with source code samples.
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