ByteScout PDF Extractor SDK - VB.NET - Extract Table Structure from PDF - ByteScout

ByteScout PDF Extractor SDK – VB.NET – Extract Table Structure from PDF

  • Home
  • /
  • Articles
  • /
  • ByteScout PDF Extractor SDK – VB.NET – Extract Table Structure from PDF

How to extract table structure from PDF in VB.NET with ByteScout PDF Extractor SDK

How to code in VB.NET to extract table structure from PDF with this step-by-step tutorial

On this page you will learn from code samples for programming in VB.NET.Writing of the code to extract table structure from PDF in VB.NET can be done by developers of any level using ByteScout PDF Extractor SDK. What is ByteScout PDF Extractor SDK? It is the SDK is designed to help developers with pdf tables and pdf 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 and other utilities. It can help you to extract table structure from PDF in your VB.NET application.

This code snippet below for ByteScout PDF Extractor SDK works best when you need to quickly extract table structure from PDF in your VB.NET application. In your VB.NET project or application you may simply copy & paste the code and then run your app! This basic programming language sample code for VB.NET will do the whole work for you to extract table structure from PDF.

Trial version of ByteScout PDF Extractor SDK is available for free. Source code samples are included to help you with your VB.NET app.

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 PDF Extractor SDK Home Page

Explore ByteScout PDF Extractor SDK Documentation

Explore Samples

Sign Up for ByteScout PDF Extractor SDK 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 Extractor SDK Home Page

Explore ByteScout PDF Extractor SDK Documentation

Explore Samples

Sign Up for ByteScout PDF Extractor SDK Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next