ByteScout PDF Suite - VB.NET - Merge protected pdf documents with pdf extractor sdk - ByteScout

ByteScout PDF Suite – VB.NET – Merge protected pdf documents with pdf extractor sdk

  • Home
  • /
  • Articles
  • /
  • ByteScout PDF Suite – VB.NET – Merge protected pdf documents with pdf extractor sdk

How to merge protected pdf documents with pdf extractor sdk in VB.NET and ByteScout PDF Suite

Learn to merge protected pdf documents with pdf extractor sdk in VB.NET

This sample source code below will display you how to merge protected pdf documents with pdf extractor sdk in VB.NET. ByteScout PDF Suite: the set that includes 6 SDK products 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. It can merge protected pdf documents with pdf extractor sdk in VB.NET.

The following code snippet for ByteScout PDF Suite works best when you need to quickly merge protected pdf documents with pdf extractor sdk in your VB.NET application. Follow the instructions from scratch to work and copy the VB.NET code. Complete and detailed tutorials and documentation are available along with installed ByteScout PDF Suite if you’d like to learn more about the topic and the details of the API.

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

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 Imports System.Diagnostics Class Program Friend Shared Sub Main(args As String()) Dim inputFiles As String() = New String() {"encrypted1 (password is 'password').pdf", "encrypted2 (password is 'password').pdf"} Using merger As New DocumentMerger("demo", "demo") ' Handle `PasswordRequired` event AddHandler merger.PasswordRequired, New PasswordEventHandler(AddressOf merger_PasswordRequired) ' Ignore document permissions merger.CheckPermissions = False merger.Merge(inputFiles, "result.pdf") End Using Process.Start("result.pdf") End Sub Private Shared Sub merger_PasswordRequired(sender As Object, document As String, ByRef password As String) ' Set document password here 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