RtfToPdfConverterConvertFileToPdfAsync Method
Asynchronously converts an RTF file to a PDF byte array
Namespace: Winnovative.Pdf.NextAssembly: Winnovative.Pdf.Next.RtfToPdf (in Winnovative.Pdf.Next.RtfToPdf.dll) Version: 20.0.0
public Task<byte[]> ConvertFileToPdfAsync(
string rtfFilePath,
CancellationToken ct = default
)
- rtfFilePath String
- Full path to the input RTF file
- 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
TaskByteGenerated PDF bytes