ByteScout BarCode Generator SDK - VB.NET - Change Barcode Color - ByteScout

ByteScout BarCode Generator SDK – VB.NET – Change Barcode Color

  • Home
  • /
  • Articles
  • /
  • ByteScout BarCode Generator SDK – VB.NET – Change Barcode Color

How to change barcode color in VB.NET and ByteScout Barcode SDK

This code in VB.NET shows how to change barcode color with this how to tutorial

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.

Try ByteScout Barcode SDK today: Get 60 Day Free Trial or sign up for Web API

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

Try ByteScout Barcode SDK today: 60 Day Free Trial (on-premise version) or sign up for Web API (on demand version)



Get 60 Day Free Trial or Visit ByteScout Barcode SDK page

Explore ByteScout Barcode SDK documentation


Sign Up for free Web API key

Explore Web API Documentation