Contents Index Topic Contents | ||
Previous Topic: IHTMLBaseFontElement Next Topic: IHTMLBaseFontElement::get_face |
IHTMLBaseFontElement::get_color
HRESULT get_color( VARIANT *p );Retrieves the color used by the font.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a VARIANT structure that receives the color. It can be one of the color names or values given in the Color Table reference documentation.
See also put_color
IHTMLBaseFontElement::put_color
HRESULT put_color( VARIANT v );Sets the color to be used by the font.
- Returns S_OK if successful, or an error value otherwise.
- v
- VARIANT structure that contains either a string or numeric value specifying the color. It can be one of the color names or values given in the Color Table reference documentation.
See also get_color
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.