Contents Index Topic Contents | ||
Previous Topic: IHTMLBodyElement::put_text Next Topic: IHTMLBodyElement::put_link |
IHTMLBodyElement::get_text
HRESULT get_text( VARIANT *p );Retrieves the current text (foreground) color of the document body.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a VARIANT structure that receives the color. The color can be one of the color names or values given in the Color Table reference documentation.
The text is formatted within the current context of the document.
See also put_text
IHTMLBodyElement::put_text
HRESULT put_text( VARIANT v );Sets the text (foreground) color for the document body.
- Returns S_OK if successful, or an error value otherwise.
- v
- VARIANT structure that contains either a string or value specifying the color. The color can be one of the color names or values given in the Color Table reference documentation.
The text is formatted within the current context of the document.
See also get_text
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.