Cells
Overview
Cells is a class in Aspose.Pdf FOSS for Java.
Inherits from: Iterable<Cell>.
Represents an ordered collection of {@link Cell} instances within a {@link Row}.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
count | int | Read | Returns the number of cells in this collection. |
Methods
| Signature | Description |
|---|---|
Cells() | Creates an empty Cells collection. |
add() → Cell | Creates a new empty {@link Cell}, adds it to this collection, and returns it. |
add(text: String) → Cell | Creates a new {@link Cell} containing a {@link TextFragment} with the given text, |
| adds it to this collection, and returns it. | |
add(cell: Cell) | Adds an existing {@link Cell} to this collection. |
get(index: int) → Cell | Returns the cell at the specified index. |
size() → int | Returns the number of cells in this collection. |
getCount() → int | Returns the number of cells in this collection. |
iterator() → Iterator<Cell> | Returns an iterator over the cells in this collection. |