RtfToPdfConverterConvertFileToPdfFileAsync Method

Asynchronously converts an RTF file to PDF and writes the result to the specified output path

Definition

Namespace: HiQPdf.Next
Assembly: HiQPdf.Next.RtfToPdf (in HiQPdf.Next.RtfToPdf.dll) Version: 18.0.0
C#
public Task ConvertFileToPdfFileAsync(
	string rtfFilePath,
	string outputPdfFilePath,
	CancellationToken ct = default
)

Parameters

rtfFilePath  String
Input RTF file path.
outputPdfFilePath  String
Output PDF file path
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