RtfToMarkdownConverterConvertStreamToMarkdownFileAsync Method
Asynchronously converts an RTF document read from a stream to Markdown and saves the text in a file in UTF-8 encoding
Namespace: EvoPdf.NextAssembly: EvoPdf.Next.RtfToPdf (in EvoPdf.Next.RtfToPdf.dll) Version: 15.1.0
public Task ConvertStreamToMarkdownFileAsync(
Stream rtfStream,
string outputMarkdownFilePath,
CancellationToken ct = default
)
- rtfStream Stream
- The stream to read the RTF content from
- 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