ByteScout PDF Extractor SDK – VBScript – Make Unsearchable PDF

  • Home
  • /
  • Articles
  • /
  • ByteScout PDF Extractor SDK – VBScript – Make Unsearchable PDF

How to make unsearchable PDF in VBScript with ByteScout PDF Extractor SDK

Write code in VBScript to make unsearchable PDF with this step-by-step tutorial

Source code documentation samples provide quick and easy way to add a required functionality into your application. ByteScout PDF Extractor SDK is the Software Development Kit (SDK) that is designed to help developers with data extraction from unstructured documents like pdf, tiff, scans, images, scanned and electronic forms. The library is powered by OCR, computer vision and AI to provide unique functionality like table detection, automatic table structure extraction, data restoration, data restructuring and reconstruction. Supports PDF, TIFF, PNG, JPG images as input and can output CSV, XML, JSON formatted data. Includes full set of utilities like pdf splitter, pdf merger, searchable pdf maker. It can be used to make unsearchable PDF using VBScript.

The SDK samples like this one below explain how to quickly make your application do make unsearchable PDF in VBScript with the help of ByteScout PDF Extractor SDK. Follow the instructions from the scratch to work and copy the VBScript code. Enjoy writing a code with ready-to-use sample codes in VBScript.

ByteScout PDF Extractor SDK free trial version is available on our website. VBScript and other programming languages are supported.

' Create Bytescout.PDFExtractor.UnsearchablePDFMaker object Set unsearchablePDFMaker = CreateObject("Bytescout.PDFExtractor.UnsearchablePDFMaker") unsearchablePDFMaker.RegistrationName = "demo" unsearchablePDFMaker.RegistrationKey = "demo" ' Load sample PDF document unsearchablePDFMaker.LoadDocumentFromFile("..\..\sample1.pdf") ' Set PDF rendering resolution to 150 DPI. Higher value - better quality, but larger output file. unsearchablePDFMaker.RenderingResolution = 150 ' Set embedded images format unsearchablePDFMaker.ImageFormat = 0 ' JPEG = 0; PNG = 1 ' Set quality factor for JPEG format; from 0 to 100; default is 90. ' Lower quality - smaller the result file. unsearchablePDFMaker.JPEGQuality = 60 ' Process the document unsearchablePDFMaker.MakePDFUnsearchable("result.pdf") WScript.Echo "Unsearchable document saved as 'result.pdf'."


Visit ByteScout PDF Extractor SDK page or

explore documentation