ByteScout Premium Suite - VB.NET - Convert protected pdf document to xls with pdf extractor sdk - ByteScout

ByteScout Premium Suite – VB.NET – Convert protected pdf document to xls with pdf extractor sdk

  • Home
  • /
  • Articles
  • /
  • ByteScout Premium Suite – VB.NET – Convert protected pdf document to xls with pdf extractor sdk

How to convert protected pdf document to xls with pdf extractor sdk in VB.NET and ByteScout Premium Suite

Step-by-step tutorial on how to convert protected pdf document to xls with pdf extractor sdk in VB.NET

ByteScout simple and easy to understand tutorials are planned to describe the code for both VB.NET beginners and advanced programmers. ByteScout Premium Suite is the set that includes 12 SDK products from ByteScout including tools and components for PDF, barcodes, spreadsheets, screen video recording. It can be applied to convert protected pdf document to xls with pdf extractor sdk using 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 convert protected pdf document to xls with pdf extractor sdk. Simply copy and paste in your VB.NET project or application you and then run your app! Use of ByteScout Premium Suite in VB.NET is also described in the documentation included along with the product.

All these programming tutorials along with source code samples and ByteScout free trial version are available for download from our website.

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 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") ''' Document Password Can be set in two ways ''' 1. Using Property ''' 2. Using Events ' 1. Handle document password using Property ' extractor.Password = "password" ' 2. Handle document password using Event AddHandler extractor.PasswordRequired, New System.EventHandler(AddressOf extractor_PasswordRequired) ' Load sample PDF document extractor.LoadDocumentFromFile("encrypted (password is 'password').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 Private Shared Sub extractor_PasswordRequired(sender As Object, e As EventArgs) ' Ask user for password and put it to `Password` property. CType(sender, XLSExtractor).Password = "password" End Sub End Class

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Premium Suite Home Page

Explore ByteScout Premium Suite Documentation

Explore Samples

Sign Up for ByteScout Premium Suite 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 Premium Suite Home Page

Explore ByteScout Premium Suite Documentation

Explore Samples

Sign Up for ByteScout Premium Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next