Initializes a new instance of the class.

Namespace: Spire.Pdf
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 7.9.2.0 (7.9.2.1020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public PdfDocument(
	string filename,
	string password
)
Public Sub New ( 
	filename As String,
	password As String
)
public:
PdfDocument(
	String^ filename, 
	String^ password
)
new : 
        filename : string * 
        password : string -> PdfDocument

Parameters

filename
String
The path to source PDF document.
password
String
The password (user or owner) of the encrypted document.

See Also