The documentation is designed for a specific purpose to help you to apply the features on your side. ByteScout Barcode Suite can add barcode to pdf with barcode sdk. It can be applied from VBScript. ByteScout Barcode Suite is the bundle that privides 3 SDK products to generate barcodes (Barcode SDK), read barcodes (Barcode Reaer SDK) and read and write spreadsheets (Spreadsheet SDK).
The SDK samples given below describe how to quickly make your application do add barcode to pdf with barcode sdk in VBScript with the help of ByteScout Barcode Suite. IF you want to implement the functionality, just copy and paste this code for VBScript below into your code editor with your app, compile and run your application. Use of ByteScout Barcode Suite in VBScript is also described in the documentation included along with the product.
You can download free trial version of ByteScout Barcode Suite from our website to see and try many others source code samples for VBScript.
' Create barcode object and register it Set barcode = CreateObject("Bytescout.BarCode.Barcode") barcode.RegistrationName = "demo" barcode.RegistrationKey = "demo" ' set symbology to DataMatrix barcode.Symbology = 15 ' 15 = DataMatrix symbology type ' set barcode value to encode barcode.Value = "Sample barcode" ' Place barcode at top-left corner of every document page barcode.DrawToPDF "..\wikipedia.pdf", -1, 10, 10, "result.pdf" ' Open the output file in default PDF viewer. Set shell = CreateObject("WScript.Shell") shell.Run "result.pdf", 1, false Set shell = Nothing Set barcode = Nothing