ByteScout PDF Suite - VBScript - Make searchable pdf with pdf extractor sdk - ByteScout

ByteScout PDF Suite – VBScript – Make searchable pdf with pdf extractor sdk

  • Home
  • /
  • Articles
  • /
  • ByteScout PDF Suite – VBScript – Make searchable pdf with pdf extractor sdk

How to make searchable pdf with pdf extractor sdk in VBScript with ByteScout PDF Suite

Learn to make searchable pdf with pdf extractor sdk in VBScript

The code displayed below will guide you to install an VBScript app to make searchable pdf with pdf extractor sdk. ByteScout PDF Suite is the bundle that provides six different SDK libraries to work with PDF from generating rich PDF reports to extracting data from PDF documents and converting them to HTML. This bundle includes PDF (Generator) SDK, PDF Renderer SDK, PDF Extractor SDK, PDF to HTML SDK, PDF Viewer SDK and PDF Generator SDK for Javascript. It can be applied to make searchable pdf with pdf extractor sdk using VBScript.

These VBScript code samples for VBScript guide developers to speed up coding of the application when using ByteScout PDF Suite. This VBScript sample code is all you need for your app. Just copy and paste the code, add references (if needs to) and you are all set! Applying VBScript application mostly includes various stages of the software development so even if the functionality works please test it with your data and the production environment.

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

On-demand (REST Web API) version:
 Web API (on-demand version)

On-premise offline SDK for Windows:
 60 Day Free Trial (on-premise)

MakeSearchablePDF.vbs
      
' Create Bytescout.PDFExtractor.SearchablePDFMaker object Set searchablePDFMaker = CreateObject("Bytescout.PDFExtractor.SearchablePDFMaker") searchablePDFMaker.RegistrationName = "demo" searchablePDFMaker.RegistrationKey = "demo" ' Load sample PDF document searchablePDFMaker.LoadDocumentFromFile("..\..\sample_ocr.pdf") ' Set the location of OCR language data files searchablePDFMaker.OCRLanguageDataFolder = "c:\Program Files\Bytescout PDF Extractor SDK\ocrdata" ' Set OCR language ' "eng" for english, "deu" for German, "fra" for French, "spa" for Spanish etc - according to files in "ocrdata" folder. searchablePDFMaker.OCRLanguage = "eng" ' Find more language files at https://github.com/bytescout/ocrdata ' Set PDF document rendering resolution searchablePDFMaker.OCRResolution = 300 ' Process the document searchablePDFMaker.MakePDFSearchable("result.pdf") WScript.Echo "Searchable document saved as 'result.pdf'."

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout PDF Suite Home Page

Explore ByteScout PDF Suite Documentation

Explore Samples

Sign Up for ByteScout PDF Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

VIDEO

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout PDF Suite Home Page

Explore ByteScout PDF Suite Documentation

Explore Samples

Sign Up for ByteScout PDF Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next