IHTMLRuleStyle::get_backgroundPositionXIHTMLRuleStyle::get_backgroundPositionX*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLRuleStyle::put_backgroundPositionX
*Next Topic: IHTMLRuleStyle::put_backgroundPositionY

IHTMLRuleStyle::get_backgroundPositionX


HRESULT get_backgroundPositionX( 
    VARIANT *p 
);

Retrieves the x-coordinate of the CSS background-position attribute for the element.

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

Up Top of Page


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

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

See also get_backgroundPositionX


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