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


## SVGSVGElementBuilder class

Builder class for creating an SVGSVGElement, the root element of an SVG document.



The SVGSVGElementBuilder type exposes the following members:

### Constructors
| Constructor | Description |
| :- | :- |
| [__init__](/svg/python-net/aspose.svg.builder/svgsvgelementbuilder/__init__/#) | Constructs a new instance of SVGSVGElementBuilder |


### Methods
| Method | Description |
| :- | :- |
| [build](/svg/python-net/aspose.svg.builder/svgsvgelementbuilder/build/#aspose.svg.dom.Document) |  |
| [build](/svg/python-net/aspose.svg.builder/svgsvgelementbuilder/build/#aspose.svg.SVGSVGElement) |  |
| [version](/svg/python-net/aspose.svg.builder/svgsvgelementbuilder/version/#float) | Sets the 'version' attribute of the SVG element.<br/>This attribute specifies the SVG specification version that the document conforms to. |
| [base_profile](/svg/python-net/aspose.svg.builder/svgsvgelementbuilder/base_profile/#float) | Sets the 'baseProfile' attribute of the SVG element.<br/>This attribute indicates which subset of the full SVG specification applies to the document. |
| [content_script_type](/svg/python-net/aspose.svg.builder/svgsvgelementbuilder/content_script_type/#str) | Sets the 'contentScriptType' attribute of the SVG element.<br/>This attribute specifies the default scripting language for the contents of the SVG document. |
| [content_style_type](/svg/python-net/aspose.svg.builder/svgsvgelementbuilder/content_style_type/#str) | Sets the 'contentStyleType' attribute of the SVG element.<br/>This attribute specifies the default styling language for the contents of the SVG document. |
| [zoom_and_pan](/svg/python-net/aspose.svg.builder/svgsvgelementbuilder/zoom_and_pan/#str) | Sets the 'zoomAndPan' attribute of the SVG element.<br/>This attribute controls whether the SVG content can be zoomed and panned. |
| [with_xlink](/svg/python-net/aspose.svg.builder/svgsvgelementbuilder/with_xlink/#) | Adds the XLink namespace declaration to the SVG element.<br/>This is necessary for using XLink attributes such as 'xlink:href'. |
| [build_element](/svg/python-net/aspose.svg.builder/svgsvgelementbuilder/build_element/#aspose.svg.dom.Document) | Builds and returns an SVGElement instance based on the current configuration of the builder. |
| [attribute](/svg/python-net/aspose.svg.builder/svgsvgelementbuilder/attribute/#str-str) | Sets or updates an attribute on an SVG element. |



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