Contents Index Topic Contents | ||
Previous Topic: IHTMLStyle::get_backgroundAttachment Next Topic: IHTMLStyle::get_backgroundImage |
IHTMLStyle::get_backgroundColor
HRESULT get_backgroundColor( VARIANT *p );Retrieves the value of the CSS background-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 background-color for details. This parameter receives NULL if the attribute is not set.
See also put_backgroundColor
IHTMLStyle::put_backgroundColor
HRESULT put_backgroundColor( VARIANT v );Sets the CSS background-color attribute for the element.
- Returns S_OK if successful, or an error value otherwise.
- v
- String or value specifying the background 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 also get_backgroundColor
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.