IHTMLRuleStyle::get_backgroundColorIHTMLRuleStyle::get_backgroundColor*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLRuleStyle::put_backgroundColor
*Next Topic: IHTMLRuleStyle::put_backgroundImage

IHTMLRuleStyle::get_backgroundColor


HRESULT get_backgroundColor(
    VARIANT *p 
);

Retrieves the value of the CSS background-color attribute for the element.

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

Up Top of Page


IHTMLRuleStyle::put_backgroundColor


HRESULT put_backgroundColor( 
    VARIANT v 
);

Sets the CSS background-color attribute for the element.

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


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