IHTMLStyle::get_backgroundPositionIHTMLStyle::get_backgroundPosition*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLStyle::get_backgroundImage
*Next Topic: IHTMLStyle::get_backgroundPositionX

IHTMLStyle::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-image for details. This parameter receives NULL if the attribute is not set.

See also put_backgroundPosition

Up Top of Page


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