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


## version {#float}

Sets the 'version' attribute of the SVG element.
This attribute specifies the SVG specification version that the document conforms to.


### Returns 


The SVGSVGElementBuilder instance for chaining.


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


| Parameter | Type | Description |
| :- | :- | :- |
| value | float | The SVG version number. |



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