---
Product: Aspose.Cells
Platform: python
Page Type: reference
Canonical URL: https://reference.aspose.org/cells/python/picturecollection
---

# PictureCollection

## Overview

`PictureCollection` is a class in Aspose.Cells FOSS for Python.

Collection of pictures in a worksheet.

This class declares 7 methods for PictureCollection objects in Python programs.
Available methods include: `Add`, `__getitem__`, `__init__`, `__iter__`, `__len__`, `add`, `copy`.
Public members are accessible to any Python application after installing the Aspose.Cells FOSS for Python package.
Properties: `count`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `count` | - | Read | Gets the count. |

## Methods

| Signature | Description |
|-----------|-------------|
| `__init__(worksheet)` | Calls __init__(worksheet) on this PictureCollection instance. |
| `add(image_path, upper_left_row, upper_left_column, lower_right_row, lower_right_column)` | Inserts an image into a worksheet by specifying the image path and the cell range that defines its placement |
| `Add(image_path, upper_left_row, upper_left_column, lower_right_row, lower_right_column)` | PascalCase alias of add(). |
| `__len__()` | Calls __len__ on this PictureCollection instance. |
| `__iter__()` | Calls __iter__ on this PictureCollection instance. |
| `__getitem__(index)` | Calls __getitem__(index) on this PictureCollection instance. |
| `copy(worksheet)` | Calls copy(worksheet) on this PictureCollection instance. |

## See Also

- [Aspose.Cells for Python — Enterprise API Reference](https://reference.aspose.com/cells/python-java/)