This page helps you to learn from code samples for programming in VBScript. ByteScout Barcode Suite helps with caption font with barcode sdk in VBScript. 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.
VBScript code snippet like this for ByteScout Barcode Suite works best when you need to quickly implement caption font with barcode sdk in your VBScript application. If you want to know how it works, then this VBScript sample code should be copied and pasted into your application’s code editor. Then just compile and run it. Check these VBScript sample code examples to see if they acknowledge to your needs and requirements for the project.
Trial version along with the source code samples for VBScript can be downloaded from our website
' Create Barcode object Set bc = CreateObject("Bytescout.BarCode.Barcode") ' Set barcode type to Code39 bc.Symbology = 1 ' 1 = Code39 symbology type ' Set barcode value bc.Value = "012345" ' Change caption font bc.SetCaptionFont "Times New Roman", 24 ' Save barcode bc.SaveImage "Code39.png" ' Open the output file in default app Set shell = CreateObject("WScript.Shell") shell.Run "code39.png", 1, false