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


## href {#str}

Sets the 'href' attribute of the SVG 'pattern' element, specifying a reference to another pattern which this pattern inherits attributes from.


### Returns 


The current instance of SVGPatternElementBuilder for method chaining.


```python
def href(self, value):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| value | str | The reference to another pattern. |



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