![]() | ![]() | ![]() |
| ||
|
IHTMLStyle::get_borderTopColor
HRESULT get_borderTopColor( VARIANT *p );Retrieves the value of the CSS border-top-color attribute for the element.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a variable that receives the color value. See border-top-color for details. This parameter receives NULL if the attribute is not set.
See also put_borderTopColor
IHTMLStyle::put_borderTopColor
HRESULT put_borderTopColor( VARIANT v );Sets the value of the CSS border-top-color attribute for the element. The attribute determines the color of the element's top border.
- 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-top-color for details. Set this parameter to NULL to remove the attribute.
See also get_borderTopColor
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.