ElementSetAttributeNode Method

Adds a new attribute node. If an attribute with that name (nodeName) is already present in the element, it is replaced by the new one.

Namespace:  Aspose.Svg.Dom
Assembly:  Aspose.SVG (in Aspose.SVG.dll) Version: 21.11
Syntax
public Attr SetAttributeNode(
	Attr newAttr
)

Parameters

newAttr
Type: Aspose.Svg.DomAttr
The new attr.

Return Value

Type: Attr
Returns attribute
See Also