Click or drag to resize

PdfDocument Constructor (String, String)

Initializes a new instance of the PdfDocument class, using the file specified by the supplied path and decodes it with the supplied password.

Namespace:  Atalasoft.PdfDoc
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public PdfDocument(
	string userPassword,
	string path
)

Parameters

userPassword
Type: SystemString
The user password to use for this document. This parameter may be null.
path
Type: SystemString
A non-null path to the PDF document to be opened.
Exceptions
ExceptionCondition
IncorrectPasswordException If the password is incorrect or cannot be verified, the constructor will throw a IncorrectPasswordException.
See Also