---
title: "SVGScriptElementBuilder.Crossorigin"
url: "https://reference.aspose.com/svg/net/aspose.svg.builder/svgscriptelementbuilder/crossorigin/"
product: "Aspose.SVG for .NET API Reference"
description: "SVGScriptElementBuilder Crossorigin method. Sets the crossorigin attribute of the SVG script element specifying the CORS settings for the external script"
---

## SVGScriptElementBuilder.Crossorigin method

Sets the 'crossorigin' attribute of the SVG 'script' element, specifying the CORS settings for the external script.

```csharp
public SVGScriptElementBuilder Crossorigin(string value)
```

| Parameter | Type | Description |
| --- | --- | --- |
| value | String | The CORS setting (e.g., "anonymous", "use-credentials"). |

### Return Value

The current instance of SVGScriptElementBuilder for method chaining.

### See Also

* class [SVGScriptElementBuilder](../)
* namespace [Aspose.Svg.Builder](../../../aspose.svg.builder/)
* assembly [Aspose.SVG](../../../)
