ElementHasAttribute Method

Returns true when an attribute with a given name is specified on this element or has a default value, false otherwise.

Namespace:  Aspose.Svg.Dom
Assembly:  Aspose.SVG (in Aspose.SVG.dll) Version: 22.1
Syntax
public bool HasAttribute(
	string name
)

Parameters

name
Type: SystemString
The attribute name.

Return Value

Type: Boolean
true if the specified name has attribute; otherwise, false.
See Also