IHTMLStyle::get_backgroundColorIHTMLStyle::get_backgroundColor*
*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.

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


IHTMLStyle::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.