Click or drag to resize

HtmlToRtf Methods

The HtmlToRtf type exposes the following members.

Methods
 NameDescription
Public methodCode exampleConvert(Byte, Byte, HtmlConvertOptions) Converts HTML to DOCX, RTF or Text documents using byte arrays.
Public methodConvert(Stream, Stream, HtmlConvertOptions) Converts HTML to DOCX, RTF or Text documents using specified streams.
Public methodCode exampleConvert(String, String, HtmlConvertOptions) Converts HTML to DOCX, RTF or Text documents using file paths.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodMergeAndReplaceRtfFileFromFile Replaces all matches of string "whatReplaceInRtf" in RTF file "rtfSourcePath" by the content of file "wherewithReplaceRtfPath".
Public methodMergeAndReplaceRtfFileFromString Replaces all matches of the textual string "textToReplace" in RTF file "rtfSourcePath" by the RTF string "wherewithReplaceRtf".
Public methodMergeAndReplaceRtfString Replaces all matches of the string "textToReplace" by the string "wherewithReplaceInRtf" and returns a new RTF document.
Public methodMergeRtfFile(String, String, String) Merge two RTF files and create new single RTF document. Output file will be overwritten.
Public methodMergeRtfFile(String, String, String, Encoding) Merge two RTF files and create new single RTF document. Output file will be overwritten.
Public methodMergeRtfString(String, String) Merge two RTF strings and create new single RTF document
Public methodMergeRtfString(String, String, Encoding) Merge two RTF strings and create new single RTF document
Public methodStatic memberCode exampleSetLicense
Activate your copy after purchasing or use temporary license for delete trial message. ATTENTION: specify this property first of all before creating the instance of HTML to RTF .Net!

Use it when you got own license. We offer two license types:

Permanent license from sautinsoft.com and

Temporary license from reg.sautinsoft.com.

Have question? Ask us: support@sautinsoft.com.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also