PdfDocumentSaveToFileAsync Method

Asynchronously saves the PDF document to the specified file

Definition

Namespace: Winnovative.Pdf.Next
Assembly: Winnovative.Pdf.Next (in Winnovative.Pdf.Next.dll) Version: 20.0.0
C#
public Task SaveToFileAsync(
	string filePath,
	CancellationToken ct = default
)

Parameters

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.

Return Value

Task
A task that represents the asynchronous operation

See Also