ByteScout Premium Suite - VBScript - Make searchable pdf discarding existing content with pdf extractor sdk - ByteScout
Announcement
Our ByteScout SDK products are sunsetting as we focus on expanding new solutions.
Learn More Open modal
Close modal
Announcement Important Update
ByteScout SDK Sunsetting Notice
Our ByteScout SDK products are sunsetting as we focus on our new & improved solutions. Thank you for being part of our journey, and we look forward to supporting you in this next chapter!

ByteScout Premium Suite – VBScript – Make searchable pdf discarding existing content with pdf extractor sdk

  • Home
  • /
  • Articles
  • /
  • ByteScout Premium Suite – VBScript – Make searchable pdf discarding existing content with pdf extractor sdk

How to make searchable pdf discarding existing content with pdf extractor sdk in VBScript with ByteScout Premium Suite

If you want to learn more then this tutorial will show how to make searchable pdf discarding existing content with pdf extractor sdk in VBScript

ByteScout simple and easy to understand tutorials are planned to describe the code for both VBScript beginners and advanced programmers. ByteScout Premium Suite is the bundle that includes twelve SDK products from ByteScout including tools and components for PDF, barcodes, spreadsheets, screen video recording and you can use it to make searchable pdf discarding existing content with pdf extractor sdk with VBScript.

This prolific sample source code in VBScript for ByteScout Premium Suite contains various functions and other necessary options you should do calling the API to make searchable pdf discarding existing content with pdf extractor sdk. 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. Check VBScript sample code samples to see if they respond to your needs and requirements for the project.

ByteScout provides the free trial version of ByteScout Premium Suite along with the documentation and source code samples.

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

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

MakeSearchablePDFDiscardingExistingContent.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_withText.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 ' Discard Existing Text in document searchablePDFMaker.DiscardExistingDocumentText = true ' 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 Premium Suite Home Page

Explore ByteScout Premium Suite Documentation

Explore Samples

Sign Up for ByteScout Premium 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 Premium Suite Home Page

Explore ByteScout Premium Suite Documentation

Explore Samples

Sign Up for ByteScout Premium Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next