HtmlToRtfConvert(Stream, Stream, HtmlToRtfHtmlConvertOptions) Method |
Converts HTML to DOCX, RTF or Text documents using specified streams.
Namespace: SautinSoftAssembly: SautinSoft.HtmlToRtf (in SautinSoft.HtmlToRtf.dll) Version: 2024.12.12
Syntax public bool Convert(
Stream inpHtml,
Stream outDocument,
HtmlToRtfHtmlConvertOptions opt
)
Public Function Convert (
inpHtml As Stream,
outDocument As Stream,
opt As HtmlToRtfHtmlConvertOptions
) As Boolean
Parameters
- inpHtml Stream
- The stream from which to load input HTML document.
- outDocument Stream
- The stream in which to save the resulting DOCX, RTF or Text document.
- opt HtmlToRtfHtmlConvertOptions
- Options to control HTML converting and adjust the output document.
Return Value
BooleanReturns true in case of converting successfully, otherwise false.
In case of false, see
ExceptionList to find more information about the issues.
See Also