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.
![]() ![]() |
Syntax
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
- Scalable Vector Graphics: Gradients and Patterns, Section 13.4.5
Remarks
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.
Show:

