Method LoadPdfAsync
LoadPdfAsync(Stream)
Loads a new document. This discards the previous document.
Declaration
Task<bool> LoadPdfAsync(Stream stream)
Parameters
| Type | Name | Description |
|---|---|---|
| System.IO.Stream | stream | The document as a stream. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<System.Boolean> | The returned task results in in case of error.
|
LoadPdfAsync(Byte[])
Loads a new document. This discards the previous document.
Declaration
Task<bool> LoadPdfAsync(byte[] document)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte[] | document |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<System.Boolean> | The returned task results in in case of error.
|