Initializes a new instance of the class.

Namespace: Spire.Pdf
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public void LoadFromFile(
	string filename,
	string password
)
Public Sub LoadFromFile ( 
	filename As String,
	password As String
)
public:
void LoadFromFile(
	String^ filename, 
	String^ password
)
member LoadFromFile : 
        filename : string * 
        password : string -> unit 

Parameters

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

See Also