Contents Index Topic Contents | ||
Previous Topic: IHTMLStyle::get_backgroundImage Next Topic: IHTMLStyle::get_backgroundPositionX |
IHTMLStyle::get_backgroundPosition
HRESULT get_backgroundPosition( BSTR *p );Retrieves the value of the CSS background-position 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_backgroundPosition
IHTMLStyle::put_backgroundPosition
HRESULT put_backgroundPosition( BSTR v );Sets the value of the CSS background-position attribute for the element. The attribute determines the initial position of the background image, if any.
- Returns S_OK if successful, or an error value otherwise.
- v
- String specifying the initial background position, or NULL to remove the attribute. See background-position for details.
See also get_backgroundPosition
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.