SVGScriptElementBuilder.Crossorigin

SVGScriptElementBuilder.Crossorigin method

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

public SVGScriptElementBuilder Crossorigin(string value)
ParameterTypeDescription
valueStringThe CORS setting (e.g., “anonymous”, “use-credentials”).

Return Value

The current instance of SVGScriptElementBuilder for method chaining.

See Also