ByteScout BarCode Generator SDK - VBScript - Change Fore and Back Color - ByteScout

ByteScout BarCode Generator SDK – VBScript – Change Fore and Back Color

  • Home
  • /
  • Articles
  • /
  • ByteScout BarCode Generator SDK – VBScript – Change Fore and Back Color

How to change fore and back color in VBScript using ByteScout Barcode SDK

The tutorial shows how to change fore and back color in VBScript

With this source code sample you may quickly learn how to change fore and back color in VBScript. ByteScout Barcode SDK is the fully featured library to generate barcodes. Supports QR Code, Code 39, Code 128, UPC, GS1, GS-128, PDF417, Datamatrix and many other barcode types. Includes various options for barcode generation to ensure output quality, add barcodes to new or existing pdf files and images. It can be used to change fore and back color using VBScript.

VBScript code samples for VBScript developers help to speed up coding of your application when using ByteScout Barcode SDK. Follow the instructions from the scratch to work and copy the VBScript code. Test VBScript sample code examples whether they respond your needs and requirements for the project.

Our website provides trial version of ByteScout Barcode SDK for free. It also includes documentation and source code samples.

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

BarCodeWithCustomColor.vbs
      
Set bc = CreateObject("Bytescout.BarCode.Barcode") ' set symbology to Code39 bc.Symbology = 1 ' 1 = Code39 symbology type ' set barcode value to encode bc.Value = "012345" bc.SetForeColorRGB 255,255,0 bc.SetBackColorRGB 0,0,0 bc.SaveImage "CustomColor.png" Set bc = Nothing ' Open the output file in default app Set shell = CreateObject("WScript.Shell") shell.Run "CustomColor.png", 1, false Set shell = Nothing

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

VIDEO

ON-PREMISE VERSION

Get 60 Day Free Trial or Visit ByteScout Barcode SDK page

Explore ByteScout Barcode SDK documentation

WEB API

Sign Up for free Web API key

Explore Web API Documentation

Tutorials:

prev
next