IHTMLRuleStyle::get_colorIHTMLRuleStyle::get_color*
*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.

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

Up Top of Page


IHTMLRuleStyle::put_color


HRESULT put_color(
    VARIANT v 
);

Sets the CSS color attribute for the element.

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


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