IHTMLRuleStyle7::clipPath Property
.png)
[This documentation is preliminary and is subject to change.]
Gets or sets a reference to the Scalable Vector Graphics (SVG) graphical object that will be used as the clipping path.
Syntax
HRESULT IHTMLRuleStyle7::get_clipPath(BSTR *p); HRESULT IHTMLRuleStyle7::put_clipPath(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
none Default. A value that indicates there is no clipping path. inherit A value that indicates that the property takes the same computed value as the property for the element's parent. funciri An Internationalized Resource Identifier (IRI) reference to another graphical object. This object is within the same SVG document fragment, which will be used as the clipping path. If the IRI reference is not valid (for example, it points to an object that does not exist or the object is not a clipPath element) the clip-path property must be treated as if it was not specified.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
An IRI is similar to a URL. For example, an SVG file called
myDrawing.svglocated athttps://contoso.commight have the following IRI:https://contoso.com/myDrawing.svg.
See Also