Want to quickly learn? This fast application programming interfaces of ByteScout PDF 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! Use of ByteScout PDF Suite in VB.NET is also described in the documentation included along with the product.
Trial version of ByteScout PDF Suite is available for free. Source code samples are included to help you with your VB.NET app.
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