Click or drag to resize

HtmlToRtfConvert(Stream, Stream, HtmlConvertOptions) Method

Converts HTML to DOCX, RTF or Text documents using specified streams.

Namespace: SautinSoft
Assembly: SautinSoft.HtmlToRtf (in SautinSoft.HtmlToRtf.dll) Version: 2023.12.6
Syntax
public bool Convert(
	Stream inpHtml,
	Stream outDocument,
	HtmlConvertOptions opt
)

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

Boolean
Returns true in case of converting successfully, otherwise false.
In case of false, see ExceptionList to find more information about the issues.
See Also