PdfDocument Constructor (String, PdfDecryptionHandler)

Docotic.Pdf library help > BitMiracle.Docotic.Pdf > PdfDocument Class > PdfDocument Constructor > PdfDocument Constructor (String, PdfDecryptionHandler)
Opens an existing encrypted PDF document.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public PdfDocument(
	string fileName,
	PdfDecryptionHandler handler
)
VB
Public Sub New ( 
	fileName As String,
	handler As PdfDecryptionHandler
)

Parameters

fileName
Type: System.String
The name of the existing PDF file.
handler
Type: BitMiracle.Docotic.Pdf.PdfDecryptionHandler
The decryption handler to use to decrypt the file.

See Also