ByteScout PDF Extractor SDK - VB.NET - Split Protected PDF Document - ByteScout

ByteScout PDF Extractor SDK – VB.NET – Split Protected PDF Document

  • Home
  • /
  • Articles
  • /
  • ByteScout PDF Extractor SDK – VB.NET – Split Protected PDF Document

How to split protected PDF document in VB.NET with ByteScout PDF Extractor SDK

The tutorial below will demonstrate how to split protected PDF document in VB.NET

ByteScout tutorials are designed to explain the code for both VB.NET beginners and advanced programmers. ByteScout PDF Extractor SDK is the SDK that helps developers to extract data from unstructured documents, pdf, images, scanned and electronic forms. Includes AI functions like automatic table detection, automatic table extraction and restructuring, text recognition and text restoration from pdf and scanned documents. Includes PDF to CSV, PDF to XML, PDF to JSON, PDF to searchable PDF functions as well as methods for low level data extraction. It can split protected PDF document in VB.NET.

You will save a lot of time on writing and testing code as you may just take the VB.NET code from ByteScout PDF Extractor SDK for split protected PDF document below and use it in your application. In order to implement the functionality, you should copy and paste this code for VB.NET below into your code editor with your app, compile and run your application. Test VB.NET sample code examples whether they respond your needs and requirements for the project.

ByteScout PDF Extractor SDK free trial version is available on our website. VB.NET and other programming languages are supported.

Try ByteScout PDF Extractor SDK today:  60 Day Free Trial (on-premise) or  Web API (on-demand version)

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

Try ByteScout PDF Extractor SDK today:  60 Day Free Trial (on-premise) or  Web API (on-demand version)

VIDEO

ON-PREMISE VERSION INFORMATION

Get 60 Day Free Trial or Visit ByteScout PDF Extractor SDK Home Page

Explore ByteScout PDF Extractor SDK Documentation

Get ByteScout PDF Extractor SDK Free Training

WEB API

Get Your Free API Key

Explore Web API Documentation

Tutorials:

prev
next