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

# PictureFillFormat

## Overview

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

Represents a picture fill style.

Properties: `as_i_presentation_component`, `crop_bottom`, `crop_left`, `crop_right`, `crop_top`, `dpi`, and 14 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `dpi` | `int` | Read/Write | Returns or sets the dpi which is used to fill a picture. |
| `picture_fill_mode` | `PictureFillMode` | Read/Write | Returns or sets the picture fill mode. |
| `picture` | `ISlidesPicture` | Read | Returns the picture. |
| `crop_left` | `float` | Read/Write | Returns or sets the number of percents of real image width that are cropped off the left of the picture. |
| `crop_top` | `float` | Read/Write | Returns or sets the number of percents of real image height that are cropped off the top of the picture. |
| `crop_right` | `float` | Read/Write | Returns or sets the number of percents of real image width that are cropped off the right of the picture. |
| `crop_bottom` | `float` | Read/Write | Returns or sets the number of percents of real image height that are cropped off the bottom of the picture. |
| `stretch_offset_left` | `float` | Read/Write | Returns or sets left edge of the fill rectangle that is defined by a percentage offset from the left edge of the shape's bounding box. |
| `stretch_offset_top` | `float` | Read/Write | Returns or sets top edge of the fill rectangle that is defined by a percentage offset from the top edge of the shape's bounding box. |
| `stretch_offset_right` | `float` | Read/Write | Returns or sets right edge of the fill rectangle that is defined by a percentage offset from the right edge of the shape's bounding box. |
| `stretch_offset_bottom` | `float` | Read/Write | Returns or sets bottom edge of the fill rectangle that is defined by a percentage offset from the bottom edge of the shape's bounding box. |
| `tile_offset_x` | `float` | Read/Write | Returns or sets the horizontal offset of the texture from the shape's origin in points. |
| `tile_offset_y` | `float` | Read/Write | Returns or sets the vertical offset of the texture from the shape's origin in points. |
| `tile_scale_x` | `float` | Read/Write | Returns or sets the horizontal scale for the texture fill as a percentage. |
| `tile_scale_y` | `float` | Read/Write | Returns or sets the vertical scale for the texture fill as a percentage. |
| `tile_alignment` | `RectangleAlignment` | Read/Write | Returns or sets how the texture is aligned within the shape. |
| `tile_flip` | `TileFlip` | Read/Write | Flips the texture tile around its horizontal, vertical or both axis. |
| `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/)