IHTMLRuleStyle::get_backgroundRepeatIHTMLRuleStyle::get_backgroundRepeat*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLRuleStyle::put_backgroundRepeat
*Next Topic: IHTMLRuleStyle::put_backgroundAttachment

IHTMLRuleStyle::get_backgroundRepeat


HRESULT get_backgroundRepeat( 
    BSTR *p 
);

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

p
Address of a variable that receives the value of the attribute, which can be one of these strings:
norepeat Do not repeat.
repeaty Repeat vertically.
repeat Repeat both horizontally and vertically.
repeatx Repeat horizontally.
See background-image for details. This parameter receives NULL if the attribute is not set.

See also put_backgroundRepeat

Up Top of Page


IHTMLRuleStyle::put_backgroundRepeat


HRESULT put_backgroundRepeat(
    BSTR v 
);

Sets the value of the CSS background-repeat attribute for the element. The attribute determines whether and how the background image, if any, is repeated.

v
String specifying whether and how the image is repeated, or NULL to remove the attribute. Can be one of these strings:
norepeat Do not repeat.
repeaty Repeat vertically.
repeat Repeat both horizontally and vertically.
repeatx Repeat horizontally.
See background-repeat for details.

See also get_backgroundRepeat


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