ByteScout PDF Suite - VB.NET - Make searchable pdf discarding existing content with pdf extractor sdk - ByteScout

ByteScout PDF Suite – VB.NET – Make searchable pdf discarding existing content with pdf extractor sdk

  • Home
  • /
  • Articles
  • /
  • ByteScout PDF Suite – VB.NET – Make searchable pdf discarding existing content with pdf extractor sdk

How to make searchable pdf discarding existing content with pdf extractor sdk in VB.NET with ByteScout PDF Suite

Learning is essential in computer world and the tutorial below will demonstrate how to make searchable pdf discarding existing content with pdf extractor sdk in VB.NET

These source code samples are assembled by their programming language and functions they apply. What is ByteScout PDF Suite? It 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 help you to make searchable pdf discarding existing content with pdf extractor sdk in your VB.NET application.

This prolific sample source code in VB.NET for ByteScout PDF 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. Simply copy and paste in your VB.NET project or application you and then run your app! Use of ByteScout PDF Suite in VB.NET is also described in the documentation included along with the product.

You can download free trial version of ByteScout PDF Suite from our website with this and other source code samples for VB.NET.

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

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

Module1.vb
      
Imports Bytescout.PDFExtractor Module Module1 Sub Main() ' Create Bytescout.PDFExtractor.TextExtractor instance Dim searchablePdfMaker As SearchablePDFMaker = New 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 searchablePdfMaker.OCRLanguage = "eng" ' "eng" for english, "deu" for German, "fra" for French, "spa" for Spanish etc - according to files in "ocrdata" folder ' Set PDF document rendering resolution searchablePdfMaker.OCRResolution = 300 ' Discard Existing Text in document searchablePdfMaker.DiscardExistingDocumentText = True ' Save extracted text to file searchablePdfMaker.MakePDFSearchable("output.pdf") ' Cleanup searchablePDFMaker.Dispose() ' Open output file in default associated application System.Diagnostics.Process.Start("output.pdf") End Sub End Module

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