SVGAElementBuilder.SetTarget

SVGAElementBuilder.SetTarget method

Sets the ’target’ attribute of the SVG ‘a’ element to a custom XML name.

public SVGAElementBuilder SetTarget(string xmlName)
ParameterTypeDescription
xmlNameStringThe custom XML name to be used as the target.

Return Value

The current instance of SVGAElementBuilder for method chaining.

Exceptions

exceptioncondition
ArgumentExceptionThrown when xmlName is null or empty.

See Also