Method XbpHTMLViewer2():setHTML() Foundation

Assigns HTML-formatted text to the object.

Syntax
:setHTML( <cHTML> ) --> cOldHTML
Parameters
<cHTML>
HTML-formatted text to be assigned to the object.
Return

The HTML-formatted text set through a previous call to :setHTML(). If no HTML-formatted text has been set yet, returns is the empty string ("").

Description

The method :setHTML() assigns an HTML-formatted string to the internal buffer of an XbpHTMLViewer2 object. Afterwards, the HTML document is displayed. If another document is loaded at the time :setHTML() is called, the document is purged from memory and the HTML code passed in <cHTML> is displayed instead.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.