ByteScout Data Extraction Suite - VBScript - Make searchable pdf and fix rotated pages with pdf extractor sdk - ByteScout

ByteScout Data Extraction Suite – VBScript – Make searchable pdf and fix rotated pages with pdf extractor sdk

  • Home
  • /
  • Articles
  • /
  • ByteScout Data Extraction Suite – VBScript – Make searchable pdf and fix rotated pages with pdf extractor sdk

How to make searchable pdf and fix rotated pages with pdf extractor sdk in VBScript and ByteScout Data Extraction Suite

Learning is essential in computer world and the tutorial below will demonstrate how to make searchable pdf and fix rotated pages with pdf extractor sdk in VBScript

The sample shows instructions and algorithm of how to make searchable pdf and fix rotated pages with pdf extractor sdk and how to make it run in your VBScript application. ByteScout Data Extraction Suite can make searchable pdf and fix rotated pages with pdf extractor sdk. It can be applied from VBScript. ByteScout Data Extraction Suite is the set that includes 3 SDK products for data extraction from PDF, scans, images and from spreadsheets: PDF Extractor SDK, Data Extraction SDK, Barcode Reader SDK.

These VBScript code samples for VBScript guide developers to speed up coding of the application when using ByteScout Data Extraction 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 provides the free trial version of ByteScout Data Extraction 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)

MakeSearchablePDFAndFixRotatingPages.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_with_rotatedPage.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 ' Detect page rotation searchablePDFMaker.OCRDetectPageRotation = 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 Data Extraction Suite Home Page

Explore ByteScout Data Extraction Suite Documentation

Explore Samples

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

Explore ByteScout Data Extraction Suite Documentation

Explore Samples

Sign Up for ByteScout Data Extraction Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next