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

# IGlobalLayoutSlideCollection

## Overview

`IGlobalLayoutSlideCollection` is an interface in Aspose.Slides FOSS for Java.
Inherits from: `ILayoutSlideCollection`.

Represents a collection of all layout slides in a presentation.

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

## Methods

| Signature | Description |
|-----------|-------------|
| `asILayoutSlideCollection()` → `ILayoutSlideCollection` | Returns this collection as an {@link ILayoutSlideCollection}. |
| `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/)