IHTMLRuleStyle7::backgroundClip Property
.png)
[This documentation is preliminary and is subject to change.]
Gets or sets the background painting area.
Syntax
HRESULT IHTMLRuleStyle7::get_backgroundClip(BSTR *p); HRESULT IHTMLRuleStyle7::put_backgroundClip(BSTR v);
Parameters
- p
Pointer to a variable of type BSTR that receives one of the values listed in Possible Values.- v
BSTR that specifies one of the values listed in Possible Values.
Possible Values
border-box Default. The background is painted within (clipped to) the border box. padding-box The background is painted within (clipped to) the padding box. content-box The background is painted within (clipped to) the content box.
Return Value
Returns S_OK if successful, or an error value otherwise.
See Also
IHTMLStyle::backgroundColor, IHTMLStyle::backgroundImage, IHTMLStyle::backgroundRepeat, IHTMLStyle::backgroundAttachment, IHTMLStyle::backgroundPosition, IHTMLRuleStyle7::backgroundOrigin, IHTMLRuleStyle7::backgroundSize, IHTMLStyle::background