IHTMLStyle::get_borderColorIHTMLStyle::get_borderColor*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLStyle::get_borderBottomWidth
*Next Topic: IHTMLStyle::get_borderLeft

IHTMLStyle::get_borderColor


HRESULT get_borderColor(
    BSTR *p 
);

Retrieves the value of the CSS border-color attribute of the element and must be used with the border property, except for frames. The color can be one of the color names or values given in the Color Table reference documentation.

p
Address of a variable that receives the border color values. See border-color for details. This parameter receives NULL if the attribute is not set.

See also put_borderColor

Up Top of Page


IHTMLStyle::put_borderColor


HRESULT put_borderColor(
    BSTR v 
);

Sets the value of the CSS border-color attribute for the element. The attribute determines the color of the element's four borders.

v
String specifying the border color, which can be one of the color names or values given in the Color Table reference documentation. See border-left for details. Set this parameter to NULL to remove the attribute.

See also get_borderColor


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