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

# IBaseSlide

## Overview

`IBaseSlide` is an interface in Aspose.Slides FOSS for Java.
Inherits from: `IThemeable`, `ISlideComponent`, `IPresentationComponent`.

Represents common data for all slide types.

This interface declares 7 methods for IBaseSlide objects in Java programs.
Available methods include: `asIPresentationComponent`, `getName`, `getPresentation`, `getShapes`, `getSlide`, `getSlideId`, `setName`.
Public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package.
Properties: `name`, `presentation`, `shapes`, `slide`, `slideId`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `name` | `String` | Read/Write | 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 |
|-----------|-------------|
| `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/)