PdfMergeSaveToFileAsync Method

Asynchronously merges the PDFs and saves the result to a file

Definition

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

Parameters

filePath  String
Path to save the merged PDF
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