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

NameTypeAccessDescription
countintReadReturns the number of cells in this collection.

Methods

SignatureDescription
Cells()Creates an empty Cells collection.
add()CellCreates a new empty {@link Cell}, adds it to this collection, and returns it.
add(text: String)CellCreates 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)CellReturns the cell at the specified index.
size()intReturns the number of cells in this collection.
getCount()intReturns the number of cells in this collection.
iterator()Iterator<Cell>Returns an iterator over the cells in this collection.

See Also