RtfToMarkdownConverterConvertToMarkdownFileAsync Method
Asynchronously converts an RTF document given as a byte array to Markdown and saves the text in a file in UTF-8 encoding
Namespace: Winnovative.Pdf.NextAssembly: Winnovative.Pdf.Next.RtfToPdf (in Winnovative.Pdf.Next.RtfToPdf.dll) Version: 21.1.0
public Task ConvertToMarkdownFileAsync(
byte[] rtfBytes,
string outputMarkdownFilePath,
CancellationToken ct = default
)
- rtfBytes Byte
- The RTF content as a byte array
- outputMarkdownFilePath String
- The full path of the Markdown file to write
- ct CancellationToken (Optional)
- A cancellation token that can be used to cancel the asynchronous operation
Task
A task that represents the asynchronous operation