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) Obsolete.
Please use new methods: OpenHtml(), ToDocx(), ToRtf() and ToText() instead. Converts HTML, XHTML, ASPX file/URL to RTF or Text file. Output file will be overwritten.
ConvertFileToString(String) Obsolete.
Please use new methods: OpenHtml(), ToDocx(), ToRtf() and ToText() instead. Converts HTML, XHTML, ASPX file/URL to RTF or Text string
ConvertString(array<Byte>[]()[]) Obsolete.
Please use new methods: OpenHtml(), ToDocx(), ToRtf() and ToText() instead. Converts HTML document to RTF or Text format, depending of the property OutputFormat.
ConvertString(MemoryStream) Obsolete.
Please use new methods: OpenHtml(), ToDocx(), ToRtf() and ToText() instead. Converts HTML document to RTF or Text format, depending of the property OutputFormat.
ConvertString(String) Obsolete.
Please use new methods: OpenHtml(), ToDocx(), ToRtf() and ToText() instead. Converts HTML, XHTML, ASPX string to RTF or Text string.
ConvertString(String, List<(Of <(HtmlToRtf..::.SautinImage>)>)) Obsolete.
ConvertStringToFile(String, String) Obsolete.
Please use new methods: OpenHtml(), ToDocx(), ToRtf() and ToText() instead. 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 the textual string "textToReplace" in RTF file "rtfSourcePath" by the RTF string "wherewithReplaceRtf".
MergeAndReplaceRtfString(String, String, String)
Replaces all matches of the string "textToReplace" 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(array<Byte>[]()[])
Opens an HTML document from array of bytes. Use this method in pair with: ToRtf(), ToDocx() and ToText().
OpenHtml(Stream)
Opens an HTML document from Stream object. Use this method in pair with: ToRtf(), ToDocx() and ToText().
OpenHtml(String)
Opens an HTML document from String object or from a file or URL. Use this method in pair with: ToRtf(), ToDocx() and ToText().
SetSerial(String)
Set your activation key.
ToDocx()()()
Converts the HTML document to Docx format. Works only in pair with OpenHtml() methods.
ToDocx(Stream)
Converts the HTML document to Docx format. Works only in pair with OpenHtml() methods.
ToDocx(String)
Converts the HTML document to Docx format. Works only in pair with OpenHtml() methods.
ToRtf()()()
Converts the HTML document to Rtf format. Works only in pair with OpenHtml() methods.
ToRtf(Stream)
Converts the HTML document to Rtf format. Works only in pair with OpenHtml() methods.
ToRtf(String)
Converts the HTML document to Rtf format. Works only in pair with OpenHtml() methods.
ToText()()()
Converts the HTML document to Text format. Works only in pair with OpenHtml() methods.
ToText(Stream)
Converts the HTML document to Text format. Works only in pair with OpenHtml() methods.
ToText(String)
Converts the HTML document to Text format. Works only in pair with OpenHtml() methods.

See Also