IHTMLStyle::get_backgroundImageIHTMLStyle::get_backgroundImage*
*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.

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

Up Top of Page


IHTMLStyle::put_backgroundImage


HRESULT put_backgroundImage(
    BSTR v 
);

Sets a CSS background-image attribute for the element.

v
String specifying the URL of the background image, or NULL to remove the attribute. See background-image for details.

See also get_backgroundImage


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.