RtfToMarkdownConverterConvertStreamToMarkdownFileAsync Method

Asynchronously converts an RTF document read from a stream to Markdown and saves the text in a file in UTF-8 encoding

Definition

Namespace: EvoPdf.Next
Assembly: EvoPdf.Next.RtfToPdf (in EvoPdf.Next.RtfToPdf.dll) Version: 15.1.0
C#
public Task ConvertStreamToMarkdownFileAsync(
	Stream rtfStream,
	string outputMarkdownFilePath,
	CancellationToken ct = default
)

Parameters

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

Return Value

Task
A task that represents the asynchronous operation

See Also