Contents Index Topic Contents | ||
Previous Topic: IHTMLStyle Next Topic: IHTMLStyle::get_backgroundAttachment |
IHTMLStyle::get_background
HRESULT get_background( BSTR *p );Retrieves the value of the CSS background attribute for the element.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a variable that receives the value of the attribute. See background for details. This parameter receives NULL if the attribute is not set.
See also put_background
IHTMLStyle::put_background
HRESULT put_background( BSTR v );Sets the value of the CSS background attribute for the element.
- Returns S_OK if successful, or an error value otherwise.
- v
- String specifying the value of the attribute, or NULL to remove it. See background for details.
See also get_background
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.