Method XbpHTMLViewer():setHTML() Foundation

Assigns HTML-formatted text to the object.

:setHTML( <cHTML> ) --> cOldHTML

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


The method :setHTML() assigns an HTML-formatted string to the internal buffer of an XbpHTMLViewer 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.


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.