Click or drag to resize

PdfDocument Constructor (String, String)

Opens an existing PDF document for editing.

Namespace:  IronPdf
Assembly:  IronPdf (in IronPdf.dll) Version: 4.4.2.27556 (4.4.4.0)
Syntax
public PdfDocument(
	string PdfFilePath,
	string Password = null
)

Parameters

PdfFilePath
Type: SystemString
The PDF file path.
Password (Optional)
Type: SystemString
Optional password if the PDF document is protected / encrypted.
Exceptions
ExceptionCondition
IOExceptionException thrown if can not be opened.
See Also