public class ElementListImplementation extends ElementList
| Constructor and Description |
|---|
ElementListImplementation(Element owner) |
| Modifier and Type | Method and Description |
|---|---|
void |
addElement(Element element,
boolean updatePdfDictionary)
Add element to list.
|
int |
getCount()
Gets the number of elements in the ElementList.
|
Element |
item(int index)
Retrieves a element at the given index.
|
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<Element> |
iterator()
Gets an enumerator that iterates through the collection of elements.
|
addElement, get_Item, insertElement, removeAt, removeElementequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic ElementListImplementation(Element owner)
public int getCount()
ElementListGets the number of elements in the ElementList.
getCount in class ElementListpublic Element item(int index)
ElementListRetrieves a element at the given index.
item in class ElementListindex - The index into the list of elements./Aspose.Pdf.LogicalStructure.Element with the specified index in the collection. If index is greater than or equal to the number of elements in the list, this returns null.public com.aspose.ms.System.Collections.Generic.IGenericEnumerator<Element> iterator()
ElementListGets an enumerator that iterates through the collection of elements.
iterator in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<Element>iterator in interface com.aspose.ms.System.Collections.IEnumerable<Element>iterator in interface Iterable<Element>iterator in class ElementListpublic void addElement(Element element, boolean updatePdfDictionary)
Add element to list.
addElement in class ElementListelement - The /Aspose.Pdf.LogicalStructure.Element.updatePdfDictionary - Should the pdf dictionary be updated.Copyright © 2025 Aspose. All Rights Reserved.