[]
Loads the document from a specified input stream, overwriting the current content of the document. The stream should contain valid PDF data and must be kept open while reading or modifying the document. If the document is modified, it can be saved using the Save(string, bool) or Save(Stream, bool) methods.
public void Load(Stream stream, DecryptionOptions decryptionOptions)
| Type | Name | Description |
|---|---|---|
| Stream | stream | The source Stream object used to load the document content. |
| DecryptionOptions | decryptionOptions | The DecryptionOptions object containing password and other decryption parameters. |
Loads the current document from a specified input stream, overwriting the current content of the document. The stream should contain valid PDF data, and must be kept open while reading or modifying the document. If the document is modified, it can be saved using the Save(string, bool) or Save(Stream, bool) method.
public void Load(Stream stream, byte[] password)
| Type | Name | Description |
|---|---|---|
| Stream | stream | The Stream object used for loading the document content. |
| byte[] | password | The password used to open the document. |
Loads the current document from a specified input stream, overwriting the current content of the document. The stream should contain valid PDF data, and must be kept open while reading or modifying the document. If the document is modified, it can be saved using the Save(string, bool) or Save(Stream, bool) method.
public void Load(Stream stream, string password = null)
| Type | Name | Description |
|---|---|---|
| Stream | stream | The Stream object used for loading the document content. |
| string | password | The password used to open the document. |