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

# TextFrameFormat

## Overview

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

Contains the TextFrame's formatTextFrameFormatting properties.

This class provides 1 method for working with TextFrameFormat 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: `anchoring_type`, `as_i_presentation_component`, `autofit_type`, `center_text`, `column_count`, `column_spacing`, and 12 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `slide` | `IBaseSlide` | Read | Gets the slide. |
| `presentation` | `IPresentation` | Read | Gets the presentation. |
| `as_i_presentation_component` | `IPresentationComponent` | Read | Gets the as i presentation component. |
| `margin_left` | `float` | Read/Write | Returns or sets the left margin (points) in a TextFrame. |
| `margin_right` | `float` | Read/Write | Returns or sets the right margin (points) in a TextFrame. |
| `margin_top` | `float` | Read/Write | Returns or sets the top margin (points) in a TextFrame. |
| `margin_bottom` | `float` | Read/Write | Returns or sets the bottom margin (points) in a TextFrame. |
| `wrap_text` | `NullableBool` | Read/Write | True if text is wrapped at TextFrame's margins. |
| `anchoring_type` | `TextAnchorType` | Read/Write | Returns or sets vertical anchor text in a TextFrame. |
| `center_text` | `NullableBool` | Read/Write | If NullableBool.True then text should be centered in box horizontally. |
| `text_vertical_type` | `TextVerticalType` | Read/Write | Determines text orientation. |
| `autofit_type` | `TextAutofitType` | Read/Write | Returns or sets text's autofit mode. |
| `column_count` | `int` | Read/Write | Returns or sets number of columns in the text area. |
| `column_spacing` | `float` | Read/Write | Returns or sets the space between text columns (in points). |
| `rotation_angle` | `float` | Read/Write | Specifies custom the rotation that is being applied to the text within the bounding box. |
| `transform` | `TextShapeType` | Read/Write | Gets or sets text wrapping shape. |
| `keep_text_flat` | `bool` | Read/Write | Gets or sets keeping text flat even if a 3-D Rotation effect was applied. |
| `three_d_format` | `IThreeDFormat` | Read | Returns the ThreeDFormat object that represents 3d effect properties for a text. |

## Methods

| Signature | Description |
|-----------|-------------|
| `__init__()` |  |

## See Also

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