[]
Saves the PDF document to a file.
public Task SaveAsync(string fileName)
| Type | Name | Description |
|---|---|---|
| string | fileName | Name of the PDF file to create. |
| Type | Description |
|---|---|
| Task |
Saves the PDF document to a Stream.
public Task SaveAsync(Stream stream)
| Type | Name | Description |
|---|---|---|
| Stream | stream | Stream object to use for saving the document. |
| Type | Description |
|---|---|
| Task |
Saving the PDF document to a Stream object is often used in Web scenarios, when you are creating a Response object or storing the document in the a cache, and don't want to create temporary files.