com.aspose.words.NodeCollectioncom.aspose.words.RowCollection
public class RowCollection
Property Getters/Setters Summary | ||
---|---|---|
int | getCount() | → inherited from Aspose.Words.NodeCollection |
Gets the number of nodes in the collection. | ||
Row | get(int index) | |
Retrieves a Row at the given index. |
Method Summary | ||
---|---|---|
void | clear() | → inherited from Aspose.Words.NodeCollection |
Removes all nodes from this collection and from the document. | ||
Aspose.Words.CompositeNode | getContainer() | → inherited from Aspose.Words.NodeCollection |
Reserved for internal use. | ||
Aspose.Words.Node | getNextMatchingNode(aspose.obfuscated.type curNode) | → inherited from Aspose.Words.NodeCollection |
Reserved for internal use. | ||
java.util.Iterator | iterator() | → inherited from Aspose.Words.NodeCollection |
Provides a simple "foreach" style iteration over the collection of nodes. | ||
void | removeAt(int index) | → inherited from Aspose.Words.NodeCollection |
Removes the node at the specified index from the collection and from the document. | ||
Aspose.Words.Tables.Row[] | toArray() | |
Copies all rows from the collection to a new array of rows. |
Property Getters/Setters Detail |
---|
getCount | → inherited from Aspose.Words.NodeCollection |
public int getCount() |
get | |
public Row get(int index) |
The index is zero-based.
Negative indexes are allowed and indicate access from the back of the collection. For example -1 means the last item, -2 means the second before last and so on.
If index is greater than or equal to the number of items in the list, this returns a null reference.
If index is negative and its absolute value is greater than the number of items in the list, this returns a null reference.
index
- An index into the collection.Method Detail |
---|
clear | → inherited from Aspose.Words.NodeCollection |
public void clear() |
getContainer | → inherited from Aspose.Words.NodeCollection |
public Aspose.Words.CompositeNode getContainer() |
getNextMatchingNode | → inherited from Aspose.Words.NodeCollection |
public Aspose.Words.Node getNextMatchingNode(aspose.obfuscated.type curNode) throws java.lang.Exception |
iterator | → inherited from Aspose.Words.NodeCollection |
public java.util.Iterator iterator() |
removeAt | → inherited from Aspose.Words.NodeCollection |
public void removeAt(int index) |
index
- The zero-based index of the node.
Negative indexes are allowed and indicate access from the back of the list.
For example -1 means the last node, -2 means the second before last and so on.toArray | |
public Aspose.Words.Tables.Row[] toArray() |