Click or drag to resize

PdfDocument Constructor (Byte, 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(
	byte[] PdfData,
	string Password = null
)

Parameters

PdfData
Type: SystemByte
The PDF file data as byte array.
Password (Optional)
Type: SystemString
Optional password if the PDF document is protected / encrypted.
Exceptions
ExceptionCondition
IOExceptionException thrown if can not be opened.
See Also