Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content

patternContentUnits property

Gets or sets the ISVGPatternElement::patternContentUnits property on the given pattern element, defining the coordinate system for the contents of the pattern element.

Scalable Vector Graphics: Gradients and Patterns, Section 13.4.5Internet Explorer 9



HRESULT value = object.put_patternContentUnits(ISVGAnimatedEnumeration* v);HRESULT value = object.get_patternContentUnits(ISVGAnimatedEnumeration** p);

Property values

Type: Object

An SVGAnimatedEnumeration object that defines the user coordinate system for the contents of the pattern element. This parameter can contain one of the following values:

Standards information


The ISVGPatternElement::patternContentUnits property uses one of the constants that are defined in the ISVGUnitTypes enumeration.

Note  This property has no effect if you specify the ISVGFitToViewBox::viewBox attribute.

You can animate this property.



Community Additions

© 2015 Microsoft