[]
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)
Public Sub Load(stream As Stream, decryptionOptions As 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)
Public Sub Load(stream As Stream, password As Byte())
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)
Public Sub Load(stream As Stream, Optional password As String = Nothing)