Document.GetElementsByClassName
Contents
[
Hide
]Document.GetElementsByClassName method
This method returns an array-like object of all child elements which have all the given class name(s).
When called on the document object, the complete document is searched, including the root node. You may also call this method on any element; it will return only elements which are descendants of the specified root element with the given class name(s).
public HTMLCollection GetElementsByClassName(string classNames)
Parameter | Type | Description |
---|---|---|
classNames | String | The string that contains an unordered set of unique space-separated tokens representing classes (class names) |
Return Value
A live HTMLCollection
of found elements.
Remarks
Refer to official spec.
See Also
- class HTMLCollection
- class Document
- namespace Aspose.Svg.Dom
- assembly Aspose.SVG