Contents Index Topic Contents | ||
Previous Topic: IHTMLRuleStyle::put_color Next Topic: IHTMLRuleStyle::put_background |
IHTMLRuleStyle::get_color
HRESULT get_color( VARIANT *p );Retrieves the value of the CSS color attribute for the element.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a variable that receives the value of the attribute. See color for details. This parameter receives NULL if the attribute is not set.
See also put_color
IHTMLRuleStyle::put_color
HRESULT put_color( VARIANT v );Sets the CSS color attribute for the element.
- Returns S_OK if successful, or an error value otherwise.
- v
- String or value specifying the color, or NULL to remove the attribute. The color can be one of the color names or values given in the Color Table reference documentation. See color for details.
See also get_color
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.