Rows

Overview

Rows is a class in Aspose.PDF FOSS for Java. Inherits from: Iterable<Row>.

Represents an ordered collection of {@link Row} instances within a {@link Table}.

This class provides 7 methods for working with Rows objects in Java programs. Available methods include: Rows, add, get, getCount, iterator, size. All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package. Properties: count.

Properties

NameTypeAccessDescription
countintReadReturns the number of rows in this collection.

Methods

SignatureDescription
Rows()Creates an empty Rows collection.
add() → RowCreates a new empty {@link Row}, adds it to this collection, and returns it.
add(row: Row)Adds an existing {@link Row} to this collection.
get(index: int) → RowReturns the row at the specified index.
size() → intReturns the number of rows in this collection.
getCount() → intReturns the number of rows in this collection.
iterator() → Iterator<Row>Returns an iterator over the rows in this collection.

See Also

 English