An easy to understand guide to learn how to flatten pdf form with pdf sdk in VBScript. ByteScout Premium Suite was created to assist flatten pdf form with pdf sdk in VBScript. 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 flatten pdf form with pdf sdk in VBScript with the help of ByteScout Premium Suite. Follow the steps-by-step instructions from the scratch to work and copy and paste code for VBScript into your editor. Check these VBScript sample code examples to see if they acknowledge to your needs and requirements for the project.
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 submit or reset form. ' Create Bytescout.PDF.Document object Set pdfDocument = CreateObject("Bytescout.PDF.Document") pdfDocument.RegistrationName = "demo" pdfDocument.RegistrationKey = "demo" ' Load filled PDF form pdfDocument.Load("filled_form.pdf") ' Flatten the form pdfDocument.FlattenDocument() ' 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