PdfDocumentSaveToFileAsync Method
Asynchronously saves the PDF document to the specified file
Namespace: Winnovative.Pdf.NextAssembly: Winnovative.Pdf.Next (in Winnovative.Pdf.Next.dll) Version: 20.0.0
public Task SaveToFileAsync(
string filePath,
CancellationToken ct = default
)
- filePath String
- The full file path where the PDF document will be saved
- ct CancellationToken (Optional)
-
A cancellation token that can be used to cancel the asynchronous operation. When cancellation
is requested the task returned by this method will complete by throwing
OperationCanceledException as soon as possible.
Task
A task that represents the asynchronous operation