RtfToPdfConverterConvertStreamToPdfFileAsync Method
Asynchronously converts an RTF stream to PDF and writes the result to the specified output path
Namespace: Winnovative.Pdf.NextAssembly: Winnovative.Pdf.Next.RtfToPdf (in Winnovative.Pdf.Next.RtfToPdf.dll) Version: 20.0.0
public Task ConvertStreamToPdfFileAsync(
Stream rtfStream,
string outputPdfFilePath,
CancellationToken ct = default
)
- rtfStream Stream
- The RTF stream providing the RTF content bytes
- outputPdfFilePath String
- Output PDF 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
Task
A task that represents the asynchronous operation