IHTMLRuleStyle::get_backgroundPositionIHTMLRuleStyle::get_backgroundPosition*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLRuleStyle::put_backgroundPosition
*Next Topic: IHTMLRuleStyle::put_backgroundPositionX

IHTMLRuleStyle::get_backgroundPosition


HRESULT get_backgroundPosition(
    BSTR *p 
);

Retrieves the value of the CSS background-position attribute for the element.

p
Address of a variable that receives the value of the attribute. See background-position for details. This parameter receives NULL if the attribute is not set.

See also put_backgroundPosition

Up Top of Page


IHTMLRuleStyle::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.

v
String specifying the initial background position, or NULL to remove the attribute. See background-position for details.

See also get_backgroundPosition


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.