RtfToPdfConverterConvertToPdfAsync Method
Asynchronously converts an RTF byte array to a PDF byte array
Namespace: HiQPdf.NextAssembly: HiQPdf.Next.RtfToPdf (in HiQPdf.Next.RtfToPdf.dll) Version: 18.0.0
public Task<byte[]> ConvertToPdfAsync(
byte[] rtfBytes,
CancellationToken ct = default
)
- rtfBytes Byte
- The RTF content as a byte array
- 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
TaskBytePDF bytes representing the rendered document