GetElementById
Document.GetElementById method
Restituisce l’elemento che ha un attributo ID con il valore specificato. Se tale elemento non esiste, restituisce null. Se più di un elemento ha un attributo ID con quel valore, ciò che viene restituito non è definito.
public Element GetElementById(string elementId)
Parametro | Tipo | Descrizione |
---|---|---|
elementId | String | L’ID elemento |
Valore di ritorno
IlElement
.
Guarda anche
- class Element
- class Document
- spazio dei nomi Aspose.Svg.Dom
- assemblea Aspose.SVG