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

# PatternFormat

## Overview

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

Represents a pattern to fill a shape.

Properties: `as_i_presentation_component`, `back_color`, `fore_color`, `pattern_style`, `presentation`, `slide`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `pattern_style` | `PatternStyle` | Read/Write | Returns or sets the pattern style. |
| `fore_color` | `IColorFormat` | Read | Returns the foreground pattern color. |
| `back_color` | `IColorFormat` | Read | Returns the background pattern color. |
| `as_i_presentation_component` | `IPresentationComponent` | Read | Allows to get base IPresentationComponent interface. |
| `slide` | `IBaseSlide` | Read | Gets the slide. |
| `presentation` | `IPresentation` | Read | Gets the presentation. |

## See Also

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