ByteScout PDF Suite - VB.NET - Detect lines in pdf with pdf extractor sdk - ByteScout

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

  • Home
  • /
  • Articles
  • /
  • ByteScout PDF 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 PDF Suite

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

The sample shows instructions and algorithm of how to detect lines in pdf with pdf extractor sdk and how to make it run in your VB.NET application. ByteScout PDF Suite is the set that includes 6 SDK products 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 be applied to detect lines in pdf with pdf extractor sdk using VB.NET.

These VB.NET code samples for VB.NET guide developers to speed up coding of the application when using ByteScout PDF Suite. Just copy and paste the code into your VB.NET application’s code and follow the instructions. If you want to use these VB.NET sample examples in one or many applications then they can be used easily.

The trial version of ByteScout PDF 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 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