---
Product: Aspose.Slides
Platform: python
Page Type: reference
Canonical URL: https://reference.aspose.org/slides/python/IPortionCollection
---

# IPortionCollection — Aspose.Slides FOSS Python API Reference

## Overview

`IPortionCollection` represents a collection of i portion objects. Browse the properties and methods in the tables below to understand the complete public API surface of this type. All members listed here are part of the stable public API and may be used in production code targeting the FOSS edition. Refer to the package documentation for installation instructions and a complete list of related types.

**Package**: `aspose.slides_foss`

---

## Description

`IPortionCollection` is a class in the Aspose.Slides FOSS library for Python that exposes 7 methods and 2 properties for programmatic use. It extends `ABC`, inheriting shared functionality from its parent type.

Core capabilities include: `none`; `none`; `none`. These operations enable developers to integrate iportioncollection functionality directly into Python applications.

## Properties

| Property | Type | Access | Description |
|---|---|---|---|
| `count` | `int` | Read-only | The count value. |
| `as_i_enumerable` | `Any` | Read-only | The as_i_enumerable value. |

---

## Methods

| Method | Returns | Description |
|---|---|---|
| `add()` | `None` | Adds a  to this collection. |
| `index_of(item)` | `int` | Performs the index_of operation. |
| `insert(index)` | `None` | Performs the insert operation. |
| `clear()` | `None` | Performs the clear operation. |
| `contains(item)` | `bool` | Performs the contains operation. |
| `remove(item)` | `bool` | Removes the specified  from this collection. |
| `remove_at(index)` | `None` | Removes the specified _at from this collection. |

---

## See Also

- [Aspose.Slides FOSS Python API Reference home](/slides/python/)
- [Aspose.Slides — Enterprise API Reference](https://reference.aspose.com/slides/)