clipPathUnits property

Gets or sets the given SVGClipPathElement element.

Scalable Vector Graphics: Clipping, Masking and Compositing, Section 14.6.1Internet Explorer 9



HRESULT value = object.put_clipPathUnits(ISVGAnimatedEnumeration* v);HRESULT value = object.get_clipPathUnits(ISVGAnimatedEnumeration** p);

Property values

Type: Object

One of the values of the svgUnitTypes enumeration.

Standards information


The ISVGClipPathElement::clipPathUnits property provides the user coordinate system for the contents of the SVGClipPathElement element.

The default svgUnitTypes value of SVG_UNIT_TYPE_OBJECTBOUNDINGBOX means that the coordinate system is established by using the bounding box of the element that the clipping path is applied on.