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

# ILayoutSlide

## Overview

`ILayoutSlide` is a interface in Aspose.Slides FOSS for Java.
Inherits from: `IBaseSlide`.

Represents a layout slide.

This interface provides 10 methods for working with ILayoutSlide objects in Java programs.
Available methods include: `asIPresentationComponent`, `getLayoutType`, `getMasterSlide`, `getName`, `getPresentation`, `getShapes`, `getSlide`, `getSlideId`, `setMasterSlide`, `setName`.
All public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package.
Properties: `layoutType`, `masterSlide`, `name`, `presentation`, `shapes`, `slide`, and 1 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `masterSlide` | `IMasterSlide` | Read | Returns the master slide for this layout. |
| `layoutType` | `SlideLayoutType` | Read | Returns the layout type of this slide. |
| `name` | `String` | Read | Returns the name of a slide. |
| `slideId` | `int` | Read | Returns the ID of a slide. |
| `shapes` | `IShapeCollection` | Read | Returns the shapes of a slide. |
| `slide` | `IBaseSlide` | Read | Returns the parent slide. |
| `presentation` | `IPresentation` | Read | Returns the presentation containing this component. |

## Methods

| Signature | Description |
|-----------|-------------|
| `getMasterSlide()` → `IMasterSlide` | Returns the master slide for this layout. |
| `setMasterSlide(value: IMasterSlide)` | Sets the master slide for this layout. |
| `getLayoutType()` → `SlideLayoutType` | Returns the layout type of this slide. |
| `getName()` → `String` | Returns the name of a slide. |
| `setName(name: String)` | Sets the name of a slide. |
| `getSlideId()` → `int` | Returns the ID of a slide. |
| `getShapes()` → `IShapeCollection` | Returns the shapes of a slide. |
| `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/)