ByteScout Data Extraction Suite - VB.NET - Extract table structure from pdf with pdf extractor sdk - ByteScout

ByteScout Data Extraction Suite – VB.NET – Extract table structure from pdf with pdf extractor sdk

  • Home
  • /
  • Articles
  • /
  • ByteScout Data Extraction Suite – VB.NET – Extract table structure from pdf with pdf extractor sdk

How to extract table structure from pdf with pdf extractor sdk in VB.NET and ByteScout Data Extraction Suite

Step-by-step tutorial on how to extract table structure from pdf with pdf extractor sdk in VB.NET

The sample source code below will teach you how to extract table structure from pdf with pdf extractor sdk in 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 and you can use it to extract table structure from pdf with pdf extractor sdk with VB.NET.

The SDK samples given below describe how to quickly make your application do extract table structure from pdf with pdf extractor sdk in VB.NET with the help of ByteScout Data Extraction Suite. IF you want to implement the functionality, just copy and paste this code for VB.NET below into your code editor with your app, compile and run your application. This basic programming language sample code for VB.NET will do the whole work for you to extract table structure from pdf with pdf extractor sdk.

You can download free trial version of ByteScout Data Extraction Suite from our website with this and other source code samples for VB.NET.

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 Class Program Friend Shared Sub Main(args As String()) ' Create Bytescout.PDFExtractor.StructuredExtractor instance Dim extractor As New StructuredExtractor() extractor.RegistrationName = "demo" extractor.RegistrationKey = "demo" ' Load sample PDF document extractor.LoadDocumentFromFile(".\sample3.pdf") For pageIndex As Integer = 0 To extractor.GetPageCount() - 1 Console.WriteLine("Starting extraction from page #" + pageIndex.ToString()) Console.WriteLine() extractor.PrepareStructure(pageIndex) Dim rowCount As Integer = extractor.GetRowCount(pageIndex) For row As Integer = 0 To rowCount - 1 Dim columnCount As Integer = extractor.GetColumnCount(pageIndex, row) For col As Integer = 0 To columnCount - 1 Console.WriteLine(extractor.GetCellValue(pageIndex, row, col)) Next Next Next ' Cleanup extractor.Dispose() Console.WriteLine() Console.WriteLine("Press any key to continue...") Console.ReadLine() End Sub End Class

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