ByteScout Data Extraction Suite - VB.NET - Find keyword in pdf and extract text with pdf extractor sdk - ByteScout

ByteScout Data Extraction Suite – VB.NET – Find keyword in pdf and extract text with pdf extractor sdk

  • Home
  • /
  • Articles
  • /
  • ByteScout Data Extraction Suite – VB.NET – Find keyword in pdf and extract text with pdf extractor sdk

How to find keyword in pdf and extract text with pdf extractor sdk in VB.NET and ByteScout Data Extraction Suite

Learning is essential in computer world and the tutorial below will demonstrate how to find keyword in pdf and extract text with pdf extractor sdk in VB.NET

On this page you will learn from code samples for programming in VB.NET.Writing of the code to find keyword in pdf and extract text with pdf extractor sdk in VB.NET can be executed by programmers of any level using ByteScout Data Extraction Suite. What is ByteScout Data Extraction Suite? It is the bundle that includes three SDK tools for data extraction from PDF, scans, images and from spreadsheets: PDF Extractor SDK, Data Extraction SDK, Barcode Reader SDK. It can help you to find keyword in pdf and extract text with pdf extractor sdk in your VB.NET application.

This prolific sample source code in VB.NET for ByteScout Data Extraction Suite contains various functions and other necessary options you should do calling the API to find keyword in pdf and extract text with pdf extractor sdk. This VB.NET 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! Want to see how it works with your data then code testing will allow the function to be tested and work properly.

The trial version of ByteScout Data Extraction Suite can be downloaded for free from our website. It also includes source code samples for VB.NET and other programming languages.

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

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

Program.vb
      
Imports System.Drawing Imports Bytescout.PDFExtractor Namespace FindText Class Program Friend Shared Sub Main(args As String()) ' Create Bytescout.PDFExtractor.TextExtractor instance Dim extractor As New TextExtractor() extractor.RegistrationName = "demo" extractor.RegistrationKey = "demo" ' Load sample PDF document extractor.LoadDocumentFromFile(".\sample2.pdf") Dim pageCount As Integer = extractor.GetPageCount() ' Search each page for some keyword For i As Integer = 0 To pageCount - 1 If extractor.Find(i, "References", False) Then ' If page contains the keyword, extract a text from it. ' For demonstration we'll extract the text from top part of the page only extractor.SetExtractionArea(0, 0, 600, 200) Dim text As String = extractor.GetTextFromPage(i) Console.WriteLine(text) End If Next ' Cleanup extractor.Dispose() Console.WriteLine() Console.WriteLine("Press any key to continue...") Console.ReadLine() End Sub End Class End Namespace

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