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.
- Returns S_OK if successful, or an error value otherwise.
- 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
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.
- Returns S_OK if successful, or an error value otherwise.
- 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
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.