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


## content_script_type {#str}

Sets the 'contentScriptType' attribute of the SVG element.
This attribute specifies the default scripting language for the contents of the SVG document.


### Returns 


The SVGSVGElementBuilder instance for chaining.


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


| Parameter | Type | Description |
| :- | :- | :- |
| value | str | The scripting language (e.g., "text/ecmascript"). |



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