ByteScout PDF Extractor SDK - VB.NET - Make Searchable PDF Discarding Existing Content - ByteScout

ByteScout PDF Extractor SDK – VB.NET – Make Searchable PDF Discarding Existing Content

  • Home
  • /
  • Articles
  • /
  • ByteScout PDF Extractor SDK – VB.NET – Make Searchable PDF Discarding Existing Content

How to make searchable PDF discarding existing content in VB.NET and ByteScout PDF Extractor SDK

This code in VB.NET shows how to make searchable PDF discarding existing content with this how to tutorial

Learn how to make searchable PDF discarding existing content in VB.NET with this source code sample. ByteScout PDF Extractor SDK can make searchable PDF discarding existing content. It can be used from VB.NET. ByteScout PDF Extractor SDK is the SDK is designed to help developers with pdf tables and pdf 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 and other utilities.

VB.NET code samples for VB.NET developers help to speed up coding of your application when using ByteScout PDF Extractor SDK. In your VB.NET project or application you may simply copy & paste the code and then run your app! Use of ByteScout PDF Extractor SDK in VB.NET is also explained in the documentation included along with the product.

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

Try ByteScout PDF Extractor SDK today: Get 60 Day Free Trial or sign up for Web API

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

Try ByteScout PDF Extractor SDK today: 60 Day Free Trial (on-premise version) or sign up for Web API (on demand version)

VIDEO

ON-PREMISE VERSION

Get 60 Day Free Trial or Visit ByteScout PDF Extractor SDK page

Explore ByteScout PDF Extractor SDK documentation

WEB API

Sign Up for free Web API key

Explore Web API Documentation

Tutorials:

prev
next