PortionCollection
General
PortionCollection is a class in Aspose.Slides for Python.
Inherits from: BaseCollection, IPortionCollection.
PortionCollection és una classe en Aspose.Slides per a Python. És heretat de: ゚BaseCollection⌒, ヽIPortionCollection▽ .
Representa una col·lecció de porcions.
Propietats
| Name | Type | Access | Description |
|---|---|---|---|
count | int | Read | Gets the number of portions in the collection |
is_read_only | bool | Read | |
as_i_enumerable | Any | Read |
Mètodes
| Signature | Description |
|---|---|
add(value) | Adds the given portion to the collection |
index_of(item) → int | |
insert(index, value) | Inserts a portion at the given index, shifting subsequent items |
clear() | |
contains(item) → bool | Checks whether the collection includes the specified portion |
remove(item) → bool | Deletes the first occurrence of the given portion and returns success |
remove_at(index) | Removes the portion at the specified index |