---
Product: Aspose.Words
Platform: python
Page Type: reference
Canonical URL: https://reference.aspose.org/words/python/frameformat
---

# FrameFormat

## Overview

`FrameFormat` is a class in Aspose.Words FOSS for Python.
Inherits from: `BaseModel`.

Floating text-frame definition.

Properties: `anchor_locked`, `height`, `height_rule`, `horizontal_alignment`, `horizontal_distance_from_text`, `horizontal_position`, and 8 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `is_frame` | `bool` | Read | True when any frame property has a non-default value. |
| `width` | `float` | Read | Gets the width. |
| `height` | `float` | Read | Gets the height. |
| `height_rule` | `int` | Read | Gets the height rule. |
| `horizontal_position` | `float` | Read | Gets the horizontal position. |
| `vertical_position` | `float` | Read | Gets the vertical position. |
| `horizontal_alignment` | `int` | Read | Gets the horizontal alignment. |
| `vertical_alignment` | `int` | Read | Gets the vertical alignment. |
| `relative_horizontal_position` | `int` | Read | Gets the relative horizontal position. |
| `relative_vertical_position` | `int` | Read | Gets the relative vertical position. |
| `horizontal_distance_from_text` | `float` | Read | Gets the horizontal distance from text. |
| `vertical_distance_from_text` | `float` | Read | Gets the vertical distance from text. |
| `wrap_type` | `int` | Read | Gets the wrap type. |
| `anchor_locked` | `bool` | Read | Gets the anchor locked. |

## See Also

- [Aspose.Words for Python — Enterprise API Reference](https://reference.aspose.com/words/python-net/aspose.words/frameformat/)