RtfToMarkdownConverter Class

Converts RTF documents to Markdown text with their headings, lists, tables, links, notes and pictures

Definition

Namespace: EvoPdf.Next
Assembly: EvoPdf.Next.RtfToPdf (in EvoPdf.Next.RtfToPdf.dll) Version: 15.1.0
C#
public class RtfToMarkdownConverter
Inheritance
Object    RtfToMarkdownConverter

Constructors

RtfToMarkdownConverter Creates an RTF to Markdown converter with default options

Properties

ImageFileName The name of the image files saved when ImageMode is File, without number and extension. The default value is "image"
ImageMode The way the pictures of the document are written in Markdown. The default value is None
ImagesFolder The folder where the images are saved as files when ImageMode is File
ImagesLinkPath The path written before the image file names in the Markdown links when ImageMode is File. By default it is the name of the images folder

Methods

ConvertFileToMarkdown Converts an RTF file to Markdown
ConvertFileToMarkdownAsync Asynchronously converts an RTF file to Markdown
ConvertFileToMarkdownFile Converts an RTF file to Markdown and saves the text in a file in UTF-8 encoding
ConvertFileToMarkdownFileAsync Asynchronously converts an RTF file to Markdown and saves the text in a file in UTF-8 encoding
ConvertStreamToMarkdown Converts an RTF document read from a stream to Markdown
ConvertStreamToMarkdownAsync Asynchronously converts an RTF document read from a stream to Markdown
ConvertStreamToMarkdownFile Converts an RTF document read from a stream to Markdown and saves the text in a file in UTF-8 encoding
ConvertStreamToMarkdownFileAsync Asynchronously converts an RTF document read from a stream to Markdown and saves the text in a file in UTF-8 encoding
ConvertStringToMarkdown Converts an RTF document given as a string to Markdown
ConvertStringToMarkdownAsync Asynchronously converts an RTF document given as a string to Markdown
ConvertStringToMarkdownFile Converts an RTF document given as a string to Markdown and saves the text in a file in UTF-8 encoding
ConvertStringToMarkdownFileAsync Asynchronously converts an RTF document given as a string to Markdown and saves the text in a file in UTF-8 encoding
ConvertToMarkdown Converts an RTF document given as a byte array to Markdown
ConvertToMarkdownAsync Asynchronously converts an RTF document given as a byte array to Markdown
ConvertToMarkdownFile Converts an RTF document given as a byte array to Markdown and saves the text in a file in UTF-8 encoding
ConvertToMarkdownFileAsync Asynchronously converts an RTF document given as a byte array to Markdown and saves the text in a file in UTF-8 encoding
Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString
(Inherited from Object)

See Also