ByteScout Premium Suite - VB.NET - Split protected pdf document with pdf extractor sdk - ByteScout
Announcement
Our ByteScout SDK products are sunsetting as we focus on expanding new solutions.
Learn More Open modal
Close modal
Announcement Important Update
ByteScout SDK Sunsetting Notice
Our ByteScout SDK products are sunsetting as we focus on our new & improved solutions. Thank you for being part of our journey, and we look forward to supporting you in this next chapter!

ByteScout Premium Suite – VB.NET – Split protected pdf document with pdf extractor sdk

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

How to split protected pdf document with pdf extractor sdk in VB.NET with ByteScout Premium Suite

Learn to split protected pdf document with pdf extractor sdk in VB.NET

The sample shows instructions and algorithm of how to split protected pdf document with pdf extractor sdk and how to make it run in your VB.NET application. ByteScout Premium Suite: the set that includes 12 SDK products from ByteScout including tools and components for PDF, barcodes, spreadsheets, screen video recording. It can split protected pdf document with pdf extractor sdk in VB.NET.

This prolific sample source code in VB.NET for ByteScout Premium Suite contains various functions and other necessary options you should do calling the API to split protected pdf document with pdf extractor sdk. Just copy and paste the code into your VB.NET application’s code and follow the instructions. If you want to use these VB.NET sample examples in one or many applications then they can be used easily.

You can download free trial version of ByteScout Premium Suite from our website with this and other source code samples for VB.NET.

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 Bytescout.PDFExtractor Class Program Friend Shared Sub Main(args As String()) Dim inputFile As String = "encrypted (password is 'password').pdf" Using splitter As New DocumentSplitter("demo", "demo") ' Handle `PasswordRequired` event AddHandler splitter.PasswordRequired, New PasswordEventHandler(AddressOf splitter_PasswordRequired) ' Ignore document permissions splitter.CheckPermissions = False ' Split document splitter.Split(inputFile, "part1.pdf", "part2.pdf", 3) End Using Console.WriteLine() Console.WriteLine("Press any key...") Console.ReadKey() End Sub Private Shared Sub splitter_PasswordRequired(sender As Object, document As String, ByRef password As String) ' Ask user for password And put it to `Password` property. 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