Contents Index Topic Contents | ||
Previous Topic: IHTMLStyle::get_backgroundColor Next Topic: IHTMLStyle::get_backgroundPosition |
IHTMLStyle::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
IHTMLStyle::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.