Contents Index Topic Contents | ||
Previous Topic: IHTMLRuleStyle::put_backgroundPositionY Next Topic: IHTMLRuleStyle::put_wordSpacing |
IHTMLRuleStyle::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-position for details. This parameter receives NULL if the attribute is not set.
See also put_backgroundPositionY
IHTMLRuleStyle::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.