![]() | ![]() | ![]() |
| ||
|
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.
- Returns S_OK if successful, or an error value otherwise.
- 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
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.
- Returns S_OK if successful, or an error value otherwise.
- 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
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.