IHTMLBodyElement::get_textIHTMLBodyElement::get_text*
*



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.

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

Up Top of Page


IHTMLBodyElement::put_text


HRESULT put_text(
    VARIANT v
);

Sets the text (foreground) color for the document body.

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


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.