Method SaveAsync
SaveAsync(string)
Saves the document async to the specified path. If a file already exists, it will be overwritten. The async version of save is useful if you want to create a signed PDF file with a time stamp. A time stamp server should be accessed asynchronously, and therefore we introduced this function.
public Task SaveAsync(string path)
Parameters
pathstring
Returns
- Task
SaveAsync(Stream, bool)
Saves the document to the specified stream. The async version of save is useful if you want to create a signed PDF file with a time stamp. A time stamp server should be accessed asynchronously, and therefore we introduced this function.
public Task SaveAsync(Stream stream, bool closeStream = false)
Parameters
streamStreamcloseStreambool
Returns
- Task