IHTMLBodyElement::bgProperties Property

Sets or gets the properties of the background picture.

Syntax


HRESULT IHTMLBodyElement::get_bgProperties(BSTR *p);HRESULT IHTMLBodyElement::put_bgProperties(BSTR v);

Parameters

p
Pointer to a variable of type BSTR that receives one of the values listed in Possible Values.
v
BSTR that specifies one of the values listed in Possible Values.

Possible Values

empty string Default. Background can scroll.
fixed Background is fixed and cannot scroll.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

The property specifies whether the picture is a fixed watermark or scrolls with the document.

This attribute or property is supported only by Windows Internet Explorer.

Community Additions

Show: