Contents Index Topic Contents | ||
Previous Topic: IHTMLRuleStyle::put_backgroundImage Next Topic: IHTMLRuleStyle::put_backgroundRepeat |
IHTMLRuleStyle::get_backgroundImage
HRESULT get_backgroundImage( BSTR *p );Retrieves the value of the CSS background-image 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-image for details. This parameter receives NULL if the attribute is not set.
See also put_backgroundImage
IHTMLRuleStyle::put_backgroundImage
HRESULT put_backgroundImage( BSTR v );Sets a CSS background-image attribute for the element.
- Returns S_OK if successful, or an error value otherwise.
- v
- String specifying the URL of the background image, or NULL to remove the attribute. See background-image for details.
See also get_backgroundImage
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.