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

# PictureFrame

## Overview

`PictureFrame` is a class in Aspose.Slides FOSS for Python.
Inherits from: `GeometryShape`, `IPictureFrame`.

Represents a frame with a picture inside.

This class provides 1 method for working with PictureFrame objects in Python programs.
Available methods include: `__init__`.
All public members are accessible to any Python application after installing the Aspose.Slides FOSS for Python package.
Properties: `adjustments`, `alternative_text`, `alternative_text_title`, `as_i_presentation_component`, `as_i_slide_component`, `connection_site_count`, and 30 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `shape_type` | `ShapeType` | Read/Write | Returns or sets the AutoShape type for a PictureFrame. |
| `picture_frame_lock` | `IPictureFrameLock` | Read | Returns shape's locks. |
| `picture_format` | `IPictureFillFormat` | Read | Returns the PictureFillFormat object for a picture frame. |
| `relative_scale_height` | `float` | Read/Write | Returns or sets the scale of height(relative to original picture size) of the picture frame. |
| `relative_scale_width` | `float` | Read/Write | Returns or sets the scale of width (relative to original picture size) of the picture frame. |
| `is_cameo` | `bool` | Read | Determines whether the PictureFrame is Cameo object or not. |
| `raw_frame` | `IShapeFrame` | Read/Write | Returns or sets the raw shape frame's properties. |
| `frame` | `IShapeFrame` | Read/Write | Returns or sets the shape frame's properties. |
| `line_format` | `ILineFormat` | Read | Returns the LineFormat object that contains line formatting properties for a shape. |
| `three_d_format` | `IThreeDFormat` | Read | Returns the ThreeDFormat object that 3d effect properties for a shape. |
| `effect_format` | `IEffectFormat` | Read | Returns the EffectFormat object which contains pixel effects applied to a shape. |
| `fill_format` | `IFillFormat` | Read | Returns the FillFormat object that contains fill formatting properties for a shape. |
| `hidden` | `bool` | Read/Write | Determines whether the shape is hidden. |
| `z_order_position` | `int` | Read | Returns the position of a shape in the z-order. |
| `connection_site_count` | `int` | Read | Returns the number of connection sites on the shape. |
| `rotation` | `float` | Read/Write | Returns or sets the number of degrees the specified shape is rotated around the z-axis. |
| `x` | `float` | Read/Write | Gets or sets the x-coordinate of the shape's upper-left corner, measured in points. |
| `y` | `float` | Read/Write | Gets or sets the y-coordinate of the shape's upper-left corner, measured in points. |
| `width` | `float` | Read/Write | Gets or sets the width of the shape, measured in points. |
| `height` | `float` | Read/Write | Gets or sets the height of the shape, measured in points. |
| `unique_id` | `int` | Read | Returns an internal, presentation-scoped identifier intended for use by add-ins or other code. |
| `office_interop_shape_id` | `int` | Read | Returns a slide-scoped unique identifier that remains constant for the lifetime of the shape and lets PowerPoint or interop code reliably reference the shape from anywhere in the document. |
| `alternative_text` | `str` | Read/Write | Returns or sets the alternative text associated with a shape. |
| `alternative_text_title` | `str` | Read/Write | Returns or sets the title of alternative text associated with a shape. |
| `name` | `str` | Read/Write | Returns or sets the name of a shape. |
| `is_decorative` | `bool` | Read/Write | Gets or sets 'Mark as decorative' option Reed/write . |
| `is_grouped` | `bool` | Read | Determines whether the shape is grouped. |
| `slide` | `IBaseSlide` | Read | Returns the parent slide of a shape. |
| `presentation` | `IPresentation` | Read | Returns the parent presentation of a slide. |
| `as_i_slide_component` | `ISlideComponent` | Read | Gets the as i slide component. |
| `as_i_presentation_component` | `IPresentationComponent` | Read | Gets the as i presentation component. |
| `is_text_holder` | `bool` | Read | Determines whether the shape is TextHolder. |
| `placeholder` | `IPlaceholder` | Read | Returns the placeholder for a shape. |
| `custom_data` | `ICustomData` | Read | Returns the shape's custom data. |
| `shape_style` | `IShapeStyle` | Read | Returns shape's style object. |
| `adjustments` | `IAdjustValueCollection` | Read | Returns a collection of shape's adjustment values. |

## Methods

| Signature | Description |
|-----------|-------------|
| `__init__()` | Initialize an empty shape. |

## See Also

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