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

# ILayoutSlideCollection

## Overview

`ILayoutSlideCollection` is an interface in Aspose.Slides FOSS for Java.
Inherits from: `Iterable<ILayoutSlide>`.

Represents a base class for collection of a layout slides.

This interface declares 5 methods for ILayoutSlideCollection objects in Java programs.
Available methods include: `asICollection`, `asIEnumerable`, `get`, `getByType`, `size`.
Public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package.

## Methods

| Signature | Description |
|-----------|-------------|
| `get(index: int)` → `ILayoutSlide` | Returns the layout slide at the given index. |
| `size()` → `int` | Returns the number of layout slides in the collection. |
| `asICollection()` → `List<ILayoutSlide>` | Returns this collection as an unmodifiable {@link List}. |
| `asIEnumerable()` → `Iterable<ILayoutSlide>` | Returns this collection as an {@link Iterable}. |
| `getByType(type: SlideLayoutType)` → `ILayoutSlide` | Returns the first layout slide with the specified type. |

## See Also

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