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

# ParagraphFormat

## Overview

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

This class contains the paragraph formatting properties.

This class provides 1 method for working with ParagraphFormat 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: `alignment`, `as_i_presentation_component`, `bullet`, `default_portion_format`, `default_tab_size`, `depth`, and 13 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `alignment` | `TextAlignment` | Read/Write | Returns or sets the text alignment in a paragraph with no inheritance. |
| `space_within` | `float` | Read/Write | Returns or sets the amount of space between base lines in a paragraph. |
| `space_before` | `float` | Read/Write | Returns or sets the amount of space before the first line in a paragraph with no inheritance. |
| `space_after` | `float` | Read/Write | Returns or sets the amount of space after the last line in a paragraph with no inheritance. |
| `east_asian_line_break` | `NullableBool` | Read/Write | Determines whether the East Asian line break is used in a paragraph. |
| `right_to_left` | `NullableBool` | Read/Write | Determines whether the Right to Left writing is used in a paragraph. |
| `latin_line_break` | `NullableBool` | Read/Write | Determines whether the Latin line break is used in a paragraph. |
| `hanging_punctuation` | `NullableBool` | Read/Write | Determines whether the hanging punctuation is used in a paragraph. |
| `margin_left` | `float` | Read/Write | Returns or sets the left margin in a paragraph with no inheritance. |
| `margin_right` | `float` | Read/Write | Returns or sets the right margin in a paragraph with no inheritance. |
| `indent` | `float` | Read/Write | Returns or sets paragraph First Line Indent/Hanging Indent with no inheritance. |
| `default_tab_size` | `float` | Read/Write | Returns or sets default tabulation size with no inheritance. |
| `font_alignment` | `FontAlignment` | Read/Write | Returns or sets a font alignment in a paragraph with no inheritance. |
| `bullet` | `IBulletFormat` | Read | Gets the bullet. |
| `depth` | `int` | Read/Write | Gets or sets the depth. |
| `default_portion_format` | `IPortionFormat` | Read | Gets the default portion format. |
| `as_i_presentation_component` | `IPresentationComponent` | Read | Allows to get base IPresentationComponent interface. |
| `slide` | `IBaseSlide` | Read | Gets the slide. |
| `presentation` | `IPresentation` | Read | Gets the presentation. |

## Methods

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

## See Also

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