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