Easy to understand coding instructions are written to assist you to try-out the features without the requirement to write your own code. Fill fields in pdf form with pdf sdk in VBScript can be applied with ByteScout Premium Suite. ByteScout Premium Suite is the bundle that includes twelve SDK products from ByteScout including tools and components for PDF, barcodes, spreadsheets, screen video recording.
The below SDK samples describe how to quickly make your application do fill fields in pdf form with pdf sdk in VBScript with the help of ByteScout Premium Suite. If you want to implement this functionality, you should copy and paste code below into your app using code editor. Then compile and run your application. Want to see how it works with your data then code testing will allow the function to be tested and work properly.
If you want to try other samples for VBScript then free trial version of ByteScout Premium Suite is available on our website.
' This example demonstrates how to fill PDF form programmatically. ' Create Bytescout.PDF.Document object Set pdfDocument = CreateObject("Bytescout.PDF.Document") pdfDocument.RegistrationName = "demo" pdfDocument.RegistrationKey = "demo" ' Load PDF form pdfDocument.Load("form.pdf") Set page = pdfDocument.Pages.Item(0) ' Get widget by its name and change value page.Annotations.Item_2("editBox1").Text = "Test 123" page.Annotations.Item_2("editBox2").Text = "Test 456" page.Annotations.Item_2("checkBox1").Checked = True ' Save document to file pdfDocument.Save("result.pdf") ' Open document in default PDF viewer app Set shell = CreateObject("WScript.Shell") shell.Run "result.pdf", 1, false