IPortionCollection
Vue de l’ensemble
‘IPortionCollection’ est une interface dans Aspose.Slides FOSS pour Java.Décédent de: Iterable<IPon>.
Il représente une collection de textes.
Cette interface fournit 12 méthodes pour travailler avec les objets IPortionCollection dans les programmes Java. Les méthodologies disponibles comprennent: add, asIEnumerable , ‘clear;contains; count : 'get . , indexOf et insert. isReadOnly., remove,, rémoveAt.. tous les membres publics sont accessibles à n’importe quelle application Java après l’installation de l’Aspose.Slides FOSS pour le package Java . Propriétés : readOnely
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
readOnly | boolean | Read | Gets a value indicating whether the collection is read-only. |
méthodes
| Signature | Description |
|---|---|
get(index: int) → IPortion | Gets the portion at the specified index. |
size() → int | Returns the number of portions in the collection. |
count() → int | Gets the number of elements actually contained in the collection. |
asIEnumerable() → Iterable<IPortion> | Returns this collection as an iterable. |
add(value: IPortion) | Adds a portion to the end of the collection. |
indexOf(item: IPortion) → int | Returns the index of the specified portion. |
insert(index: int, value: IPortion) | Inserts a portion at the specified index. |
clear() | Removes all portions from the collection. |
contains(item: IPortion) → boolean | Determines whether the collection contains the specified portion. |
remove(item: IPortion) → boolean | Removes the first occurrence of the specified portion. |
removeAt(index: int) | Removes the portion at the specified index. |
isReadOnly() → boolean | Gets a value indicating whether the collection is read-only. |
Voir aussi
- Aspose.Slides - référence API d’entreprise