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

# FormatScheme

## Overview

`FormatScheme` is a class in Aspose.Slides FOSS for Python.
Inherits from: `IFormatScheme`, `ISlideComponent`, `IPresentationComponent`.

Stores theme-defined formats for the shapes.

This class provides 8 methods for working with FormatScheme objects in Python programs.
Available methods include: `as_i_presentation_component`, `as_i_slide_component`, `background_fill_styles`, `effect_styles`, `fill_styles`, `line_styles`, `presentation`, `slide`.
All public members are accessible to any Python application after installing the Aspose.Slides FOSS for Python package.
Properties: `as_i_presentation_component`, `as_i_slide_component`, `background_fill_styles`, `effect_styles`, `fill_styles`, `line_styles`, and 2 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `fill_styles` | `IFillFormatCollection` | Read | Returns a collection of theme defined fill styles. |
| `line_styles` | `ILineFormatCollection` | Read | Returns a collection of theme defined line styles. |
| `effect_styles` | `IEffectStyleCollection` | Read | Returns a collection of theme defined effect styles. |
| `background_fill_styles` | `IFillFormatCollection` | Read | Returns a collection of theme defined background fill styles. |
| `slide` | `IBaseSlide` | Read | Returns the parent slide. |
| `presentation` | `IPresentation` | Read | Returns the parent presentation. |
| `as_i_slide_component` | `ISlideComponent` | Read | Gets the as i slide component. |
| `as_i_presentation_component` | `IPresentationComponent` | Read | Gets the as i presentation component. |

## Methods

| Signature | Description |
|-----------|-------------|
| `fill_styles()` → `IFillFormatCollection` | Returns a collection of theme defined fill styles. |
| `line_styles()` → `ILineFormatCollection` | Returns a collection of theme defined line styles. |
| `effect_styles()` → `IEffectStyleCollection` | Returns a collection of theme defined effect styles. |
| `background_fill_styles()` → `IFillFormatCollection` | Returns a collection of theme defined background fill styles. |
| `as_i_slide_component()` → `ISlideComponent` | Allows to get base ISlideComponent interface. |
| `slide()` → `IBaseSlide` | Returns the parent slide of this format scheme |
| `as_i_presentation_component()` → `IPresentationComponent` | Provides the format scheme as an IPresentationComponent |
| `presentation()` → `IPresentation` |  |

## See Also

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