---
title: "create_svg_rect method"
url: "https://reference.aspose.com/html/python-net/aspose.html.dom.svg/svgsvgelement/create_svg_rect/"
product: "Aspose.HTML for Python via .NET API References"
---


## create_svg_rect {#}

Creates an SVGRect object outside of any document trees. The object is initialized such that all values are set to 0 user units.


### Returns 


An SVGRect object.


```python
def create_svg_rect(self):
    ...
```





### See Also
* module [`aspose.html.dom.svg`](../../)
* class [`SVGRect`](/html/python-net/aspose.html.dom.svg.datatypes/svgrect)
* class [`SVGSVGElement`](/html/python-net/aspose.html.dom.svg/svgsvgelement)
