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 convert pdf to xls with pdf extractor sdk. Follow the instructions from scratch to work and copy the VB.NET code. Enjoy writing a code with ready-to-use sample codes in VB.NET.
If you want to try other source code samples then the free trial version of ByteScout PDF Suite is available for download from our website. Just try other source code samples for VB.NET.
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 ' Set the output format to XLS extractor.OutputFormat = SpreadseetOutputFormat.XLS ' 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