Gets the y-coordinate of the IHTMLStyle::backgroundPosition property.
HRESULT IHTMLCurrentStyle::get_backgroundPositionY(VARIANT *p);
- Pointer to a variable of type VARIANT of type VT_BSTR that receives one of the values listed in Possible Values.
length Floating-point number, followed by an absolute units designator (
pc) or a relative units designator (
px). For more information about the supported length units, see CSS Length Units Reference.
percentage Integer, followed by a percent sign (%). The value is a percentage of the width or height of the object. vAlignment Vertical alignment value. Possible values include the following:topVertical alignment is at the top.centerVertical alignment is centered.bottomVertical alignment is at the bottom.
Returns S_OK if successful, or an error value otherwise.
Windows Internet Explorer 8. The -ms-background-position-y attribute is an extension to CSS, and can be used as a synonym for background-position-y in IE8 Standards mode.