IASHTMLControl::put_HTML

This method displays an HTML-formatted string.

Syntax

HRESULT put_HTML( BSTR bstrHTML );

Parameters

pbstrHTML
Pointer to an HTML-formatted string.

Return Values

An appropriate HRESULT value is returned.

Remarks

This method is similar to IASControl::put_Caption, but is used to display HTML-formatted text. When the property is changed, the control is repainted with the new text. Use IASControl::put_Caption to display a plain text string. Appropriate HTML tags are added.

See Also

IASControl::put_Caption