ByteScout PDF Extractor SDK - VB.NET - Make Searchable PDF and Fix Rotated Pages - ByteScout

ByteScout PDF Extractor SDK – VB.NET – Make Searchable PDF and Fix Rotated Pages

  • Home
  • /
  • Articles
  • /
  • ByteScout PDF Extractor SDK – VB.NET – Make Searchable PDF and Fix Rotated Pages

How to make searchable PDF and fix rotated pages in VB.NET and ByteScout PDF Extractor SDK

How to code in VB.NET to make searchable PDF and fix rotated pages with this step-by-step tutorial

Learn how to make searchable PDF and fix rotated pages in VB.NET with this source code sample. What is ByteScout PDF Extractor SDK? It is 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 help you to make searchable PDF and fix rotated pages in your VB.NET application.

VB.NET code samples for VB.NET developers help to speed up coding of your application when using ByteScout PDF Extractor SDK. In order to implement the functionality, you should copy and paste this code for VB.NET below into your code editor with your app, compile and run your application. Detailed tutorials and documentation are available along with installed ByteScout PDF Extractor SDK if you’d like to dive deeper into the topic and the details of the API.

You can download free trial version of ByteScout PDF Extractor SDK from our website to see and try many others source code samples for VB.NET.

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_with_rotatedPage.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 ' Detect Page Rotation searchablePdfMaker.OCRDetectPageRotation = 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