backgroundImage property

[This documentation is preliminary and is subject to change.]

Sets or retrieves the background image of the object.

Syntax

Integer value = object.put_backgroundImage(BSTR v);Integer value = object.get_backgroundImage(BSTR* sLocation);

Property values

Type: BSTR

none

Default. Color of the next parent through which the background is visible.

url

Location of the background image(s), where sUrl is an absolute or relative URL.

String format

url | none

CSS information

Applies ToAll elements
Mediavisual
Inheritedno
Initial Value

Remarks

The URL identifies the image file. When setting a background image, you can set a background color to use when the image is unavailable. When the image is available, it overlays the background color.

This property can be set with other background properties by using the background composite property.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Header

DLL

Mshtml.dll

 

 

Build date: 1/23/2012

Community Additions

Show: