ByteScout PDF Extractor SDK - VBScript - Remove Text from PDF - ByteScout

ByteScout PDF Extractor SDK – VBScript – Remove Text from PDF

  • Home
  • /
  • Articles
  • /
  • ByteScout PDF Extractor SDK – VBScript – Remove Text from PDF

How to remove text from PDF in VBScript with ByteScout PDF Extractor SDK

This tutorial will show how to remove text from PDF in VBScript

ByteScout tutorials are designed to explain the code for both VBScript beginners and advanced programmers. ByteScout PDF Extractor SDK: 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 remove text from PDF in VBScript.

This rich sample source code in VBScript for ByteScout PDF Extractor SDK includes the number of functions and options you should do calling the API to remove text from PDF. In your VBScript project or application you may simply copy & paste the code and then run your app! Enjoy writing a code with ready-to-use sample codes in VBScript.

Free trial version of ByteScout PDF Extractor SDK is available on our website. Documentation and source code samples are included.

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

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

RemoveText.vbs
      
' Create Bytescout.PDFExtractor.CSVExtractor object Set remover = CreateObject("Bytescout.PDFExtractor.Remover") remover.RegistrationName = "demo" remover.RegistrationKey = "demo" ' Load sample PDF document remover.LoadDocumentFromFile "../../sample1.pdf" ' Remove text "LOREM IPSUM" and save edited document as "result1.pdf". ' NOTE: The removed text might be larger than the search string. Currently the Remover deletes ' the whole PDF text object containing the search string. remover.RemoveText 0, "LOREM IPSUM", True, "result.pdf" WScript.Echo "Modified document saved as 'result.pdf' file."

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout PDF Extractor SDK Home Page

Explore ByteScout PDF Extractor SDK Documentation

Explore Samples

Sign Up for ByteScout PDF Extractor SDK 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 Extractor SDK Home Page

Explore ByteScout PDF Extractor SDK Documentation

Explore Samples

Sign Up for ByteScout PDF Extractor SDK Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next