Document.CreateAttribute
Document.CreateAttribute method
This method creates a new attribute node, and returns it. The object created is a node implementing the Attr class. The DOM does not enforce what sort of attributes can be added to a particular element in this manner.
public Attr CreateAttribute(string localName)
| Parameter | Type | Description |
|---|---|---|
| localName | String | localName is a string containing the name of the attribute. |
Return Value
A Attr node.
See Also
- class Attr
- class Document
- namespace Aspose.Svg.Dom
- assembly Aspose.SVG