Les cellules
Vue de l’ensemble
‘Cell’ est une classe dans Aspose.PDF FOSS pour Java.Déduit de: ‘Iterable
Représente une collection commandée de {@link Cell} instances dans un { @link Row}.
Cette classe fournit 8 méthodes pour travailler avec les objets cellulaires dans les programmes Java. Les méthodologies disponibles comprennent: ‘Cells’, ‘add’ , ‘get’, `getCount’, ‘iterator’, ‘‘size’. Tous les membres publics sont accessibles à n’importe quelle application Java après l’installation de l’Aspose.PDF FOSS pour le package Java . Propriétés : ‘conto’.
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
count | int | Read | Returns the number of cells in this collection. |
méthodes
| 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. |
Voir aussi
- Aspose.PDF pour Java — API d’entreprise