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