The code displayed below will guide you to install an VB.NET app to extract table structure from pdf with pdf extractor sdk. ByteScout Premium Suite is the set that includes 12 SDK products from ByteScout including tools and components for PDF, barcodes, spreadsheets, screen video recording and you can use it to extract table structure from pdf with pdf extractor sdk with VB.NET.
Want to quickly learn? This fast application programming interfaces of ByteScout Premium Suite for VB.NET plus the guidelines and the code below will help you quickly learn how to extract table structure from pdf with pdf extractor sdk. Simply copy and paste in your VB.NET project or application you and then run your app! Want to see how it works with your data then code testing will allow the function to be tested and work properly.
You can download free trial version of ByteScout Premium Suite from our website with this and other source code samples for VB.NET.
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