---
title: "pattern_content_units method"
url: "https://reference.aspose.com/svg/python-net/aspose.svg.builder/svgpatternelementbuilder/pattern_content_units/"
product: "Aspose.SVG for Python via .NET API References"
---


## pattern_content_units {#aspose.svg.builder.CoordinateUnits}

Sets the 'patternContentUnits' attribute of the SVG 'pattern' element, specifying the coordinate system for the contents of the pattern.


### Returns 


The current instance of SVGPatternElementBuilder for method chaining.


```python
def pattern_content_units(self, units):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| units | [`CoordinateUnits`](/svg/python-net/aspose.svg.builder/coordinateunits) | The coordinate units for the pattern's content (userSpaceOnUse or objectBoundingBox). |



### See Also
* module [`aspose.svg.builder`](../../)
* class [`SVGPatternElementBuilder`](/svg/python-net/aspose.svg.builder/svgpatternelementbuilder)
