The HtmlToRtf type exposes the following methods.

Methods

 Public

 Protected
 Instance

 Static
 Declared

 Inherited
 XNA Framework Only

 .NET Compact Framework Only

 MemberDescription
ConvertFile(String, String)
Converts HTML, XHTML, ASPX file/URL to RTF or Text file. Output file will be overwritten.
ConvertFileToString(String)
Converts HTML, XHTML, ASPX file/URL to RTF or Text string
ConvertString(String)
Converts HTML, XHTML, ASPX string to RTF or Text string
ConvertString(String, List<(Of <(HtmlToRtf..::.SautinImage>)>))
Converts HTML, XHTML, ASPX string to RTF or Text string. This method can be used together with the RTF-to-HTML DLL .Net to convert RTF -> HTML -> RTF with images in memory.
ConvertStringToFile(String, String)
Converts HTML, XHTML, ASPX string to RTF or Text file. Output file will be overwritten.
MergeAndReplaceRtfFileFromFile(String, String, String, String)
Replaces all matches of string "whatReplaceInRtf" in RTF file "rtfSourcePath" by the content of file "wherewithReplaceRtfPath".
MergeAndReplaceRtfFileFromString(String, String, String, String)
Replaces all matches of string "whatReplaceInRtf" in RTF file "rtfSourcePath" by the RTF string "wherewithReplaceRtf".
MergeAndReplaceRtfString(String, String, String)
Replaces all found matches of string "whatReplaceInRtf" by the string "wherewithReplaceInRtf" and returns a new RTF document
MergeRtfFile(String, String, String)
Merge two RTF files and create new sinlge RTF document. Output file will be overwritten.
MergeRtfString(String, String)
Merge two RTF strings and create new sinlge RTF document
OpenHtml(String)
Loads the HTML document and prepares it for converting. Works only in pair with methods: ToDocx(), ToRtf() and ToText().
SetSerial(String)
Set activation key
ToDocx()()()
Converts the current HTML document to Docx. Works only in pair with the method OpenHtml().
ToDocx(Stream)
ToDocx(String)
ToRtf()()()
ToRtf(String)

See Also