HtmlToRtfConvert(Stream, Stream, HtmlConvertOptions) Method |
Converts HTML to DOCX, RTF or Text documents using specified streams.
Namespace: SautinSoftAssembly: SautinSoft.HtmlToRtf (in SautinSoft.HtmlToRtf.dll) Version: 2023.12.6
Syntax public bool Convert(
Stream inpHtml,
Stream outDocument,
HtmlConvertOptions opt
)
Public Function Convert (
inpHtml As Stream,
outDocument As Stream,
opt As HtmlConvertOptions
) 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 HtmlConvertOptions
- 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