IHTMLStyle::get_colorIHTMLStyle::get_color*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLStyle::get_clip
*Next Topic: IHTMLStyle::get_cssText

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


IHTMLStyle::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. See color for details. The color can be one of the color names or values given in the Color Table reference documentation.

See also get_color


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