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

# ICellCollection

## Overview

`ICellCollection` is a interface in Aspose.Slides FOSS for Java.
Inherits from: `ISlideComponent`, `IPresentationComponent`.

Represents a collection of cells.

This interface provides 8 methods for working with ICellCollection objects in Java programs.
Available methods include: `asICollection`, `asIEnumerable`, `asIPresentationComponent`, `asISlideComponent`, `get`, `getPresentation`, `getSlide`, `size`.
All public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package.
Properties: `presentation`, `slide`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `slide` | `IBaseSlide` | Read | Returns the parent slide. |
| `presentation` | `IPresentation` | Read | Returns the presentation containing this component. |

## Methods

| Signature | Description |
|-----------|-------------|
| `get(index: int)` → `ICell` | Gets the cell at the specified index. |
| `size()` → `int` | Returns the number of cells in the collection. |
| `asISlideComponent()` → `ISlideComponent` | Returns the base {@link ISlideComponent} interface. |
| `asICollection()` → `List` | Returns the collection as a {@link List}. |
| `asIEnumerable()` → `Iterable` | Returns the collection as an {@link Iterable}. |
| `getSlide()` → `IBaseSlide` | Returns the parent slide. |
| `asIPresentationComponent()` → `IPresentationComponent` | Returns the base {@link IPresentationComponent} interface. |
| `getPresentation()` → `IPresentation` | Returns the presentation containing this component. |

## See Also

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