PdfDocument(Stream, String, Boolean) Constructor
Initializes a new instance of the PdfDocument class with specified settings.
Namespace: DevExpress.Docs.Pdf
Assembly: DevExpress.Docs.Pdf.v26.1.dll
Declaration
public PdfDocument(
Stream stream,
string password = null,
bool detachStreamAfterLoadComplete = false
)
Parameters
| Name | Type | Description |
|---|---|---|
| stream | Stream | A stream that contains the PDF document to load. |
Optional Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| password | String | null | A password used to open the PDF document. If the document is not password-protected, this parameter is ignored. |
| detachStreamAfterLoadComplete | Boolean | False |
|
See Also