Program.vb
Imports System.IO Imports Bytescout.PDFExtractor Imports System.Diagnostics Class Program Friend Shared Sub Main(args As String()) ' Create Bytescout.PDFExtractor.XLSExtractor instance Dim extractor As New XLSExtractor() extractor.RegistrationName = "demo" extractor.RegistrationKey = "demo" File.Delete("output.xls") ' Load sample PDF document extractor.LoadDocumentFromFile("sample3.pdf") ' Uncomment this line if you need all pages converted into a single worksheet: 'extractor.PageToWorksheet = False ' Save the spreadsheet to file extractor.SaveToXLSFile("output.xls") ' Cleanup extractor.Dispose() ' Open result file in default associated application (for demo purposes) Process.Start("output.xls") End Sub End Class
Click here to get your Free Trial version of the SDK
also available as: