ByteScout Data Extraction Suite - VB.NET - Detect lines in pdf with pdf extractor sdk - ByteScout
Announcement
Our ByteScout SDK products are sunsetting as we focus on expanding new solutions.
Learn More Open modal
Close modal
Announcement Important Update
ByteScout SDK Sunsetting Notice
Our ByteScout SDK products are sunsetting as we focus on our new & improved solutions. Thank you for being part of our journey, and we look forward to supporting you in this next chapter!

ByteScout Data Extraction Suite – VB.NET – Detect lines in pdf with pdf extractor sdk

  • Home
  • /
  • Articles
  • /
  • ByteScout Data Extraction Suite – VB.NET – Detect lines in pdf with pdf extractor sdk

How to detect lines in pdf with pdf extractor sdk in VB.NET with ByteScout Data Extraction Suite

Step-by-step tutorial on how to detect lines in pdf with pdf extractor sdk in VB.NET

The sample source code below will teach you how to detect lines in pdf with pdf extractor sdk in VB.NET. ByteScout Data Extraction Suite can detect lines in pdf with pdf extractor sdk. It can be applied from VB.NET. ByteScout Data Extraction Suite is the set that includes 3 SDK products for data extraction from PDF, scans, images and from spreadsheets: PDF Extractor SDK, Data Extraction SDK, Barcode Reader SDK.

Want to save time? You will save a lot of time on writing and testing code as you may just take the VB.NET code from ByteScout Data Extraction Suite for detect lines in pdf with pdf extractor sdk below and use it in your application. Follow the instructions from scratch to work and copy the VB.NET code. Use of ByteScout Data Extraction Suite in VB.NET is also described in the documentation included along with the product.

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 Bytescout.PDFExtractor ' Detect all lines in PDF documents Module Program Sub Main() Try Using lineDetector As New LineDetector("demo", "demo") ' Load PDF Document lineDetector.LoadDocumentFromFile("LineDetectSample.pdf") ' Get all lines Dim foundLinesCollection As FoundLinesCollection = lineDetector.FindLines(0, LineOrientationsToFind.HorizontalAndVertical) ' Print output Console.WriteLine("Total {0} lines Detected", foundLinesCollection.Count) For Each foundLine As FoundLine In foundLinesCollection Console.WriteLine("From: {0}, To: {1}, Width: {2}, Line Orientation: {3}", foundLine.From.ToString(), foundLine.To.ToString(), foundLine.Width, foundLine.LineOrientation.ToString()) Next End Using Catch ex As Exception Console.WriteLine("ERROR:" + ex.Message) End Try Console.WriteLine("Press any key to exit...") Console.ReadLine() End Sub End Module

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