ByteScout PDF Suite - VB.NET - Split protected pdf document with pdf extractor sdk - ByteScout

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

  • Home
  • /
  • Articles
  • /
  • ByteScout PDF 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 PDF Suite

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

Sample source code below will display you how to manage a complex task like split protected pdf document with pdf extractor sdk in VB.NET. Want to split protected pdf document with pdf extractor sdk in your VB.NET app? ByteScout PDF Suite is designed for it. ByteScout PDF Suite is the bundle that provides six different SDK libraries to work with PDF from generating rich PDF reports to extracting data from PDF documents and converting them to HTML. This bundle includes PDF (Generator) SDK, PDF Renderer SDK, PDF Extractor SDK, PDF to HTML SDK, PDF Viewer SDK and PDF Generator SDK for Javascript.

The SDK samples given below describe how to quickly make your application do split protected pdf document with pdf extractor sdk in VB.NET with the help of ByteScout PDF Suite. Follow the instructions from scratch to work and copy the VB.NET code. Check VB.NET sample code samples to see if they respond to your needs and requirements for the project.

Trial version of ByteScout PDF Suite is available for free. Source code samples are included to help you with your VB.NET app.

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 PDF Suite Home Page

Explore ByteScout PDF Suite Documentation

Explore Samples

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

Explore ByteScout PDF Suite Documentation

Explore Samples

Sign Up for ByteScout PDF Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next