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

# IParagraphFormat

## Overview

`IParagraphFormat` is an interface in Aspose.Slides FOSS for Java.

Represents paragraph formatting properties.

This interface declares 30 methods for IParagraphFormat objects in Java programs.
Available methods include: `getAlignment`, `getBullet`, `getDefaultPortionFormat`, `getDefaultTabSize`, `getDepth`, `getEastAsianLineBreak`, `getFontAlignment`, `getHangingPunctuation`, `getIndent`, `getLatinLineBreak`, `getMarginLeft`, `getMarginRight`, and 18 additional methods.
Public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package.
Properties: `alignment`, `bullet`, `defaultPortionFormat`, `defaultTabSize`, `depth`, `eastAsianLineBreak`, and 10 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `bullet` | `IBulletFormat` | Read | Returns the bullet formatting. |
| `depth` | `int` | Read/Write | Returns the depth of the paragraph. |
| `alignment` | `TextAlignment` | Read/Write | Returns the text alignment. |
| `spaceWithin` | `double` | Read/Write | Returns the amount of space between lines within a paragraph. |
| `spaceBefore` | `double` | Read/Write | Returns the amount of space before the first line of a paragraph. |
| `spaceAfter` | `double` | Read/Write | Returns the amount of space after the last line of a paragraph. |
| `eastAsianLineBreak` | `NullableBool` | Read/Write | Returns the East Asian line break setting. |
| `rightToLeft` | `NullableBool` | Read/Write | Returns the right-to-left setting. |
| `latinLineBreak` | `NullableBool` | Read/Write | Returns the Latin line break setting. |
| `hangingPunctuation` | `NullableBool` | Read/Write | Returns the hanging punctuation setting. |
| `marginLeft` | `double` | Read/Write | Returns the left margin of the paragraph. |
| `marginRight` | `double` | Read/Write | Returns the right margin of the paragraph. |
| `indent` | `double` | Read/Write | Returns the indent of the paragraph. |
| `defaultTabSize` | `double` | Read/Write | Returns the default tab size. |
| `fontAlignment` | `FontAlignment` | Read/Write | Returns the font alignment. |
| `defaultPortionFormat` | `IBasePortionFormat` | Read | Returns the default portion format. |

## Methods

| Signature | Description |
|-----------|-------------|
| `getBullet()` → `IBulletFormat` | Returns the bullet formatting. |
| `getDepth()` → `int` | Returns the depth of the paragraph. |
| `setDepth(value: int)` | Sets the depth of the paragraph. |
| `getAlignment()` → `TextAlignment` | Returns the text alignment. |
| `setAlignment(value: TextAlignment)` | Sets the text alignment. |
| `getSpaceWithin()` → `double` | Returns the amount of space between lines within a paragraph. |
| `setSpaceWithin(value: double)` | Sets the amount of space between lines within a paragraph. |
| `getSpaceBefore()` → `double` | Returns the amount of space before the first line of a paragraph. |
| `setSpaceBefore(value: double)` | Sets the amount of space before the first line of a paragraph. |
| `getSpaceAfter()` → `double` | Returns the amount of space after the last line of a paragraph. |
| `setSpaceAfter(value: double)` | Sets the amount of space after the last line of a paragraph. |
| `getEastAsianLineBreak()` → `NullableBool` | Returns the East Asian line break setting. |
| `setEastAsianLineBreak(value: NullableBool)` | Sets the East Asian line break setting. |
| `getRightToLeft()` → `NullableBool` | Returns the right-to-left setting. |
| `setRightToLeft(value: NullableBool)` | Sets the right-to-left setting. |
| `getLatinLineBreak()` → `NullableBool` | Returns the Latin line break setting. |
| `setLatinLineBreak(value: NullableBool)` | Sets the Latin line break setting. |
| `getHangingPunctuation()` → `NullableBool` | Returns the hanging punctuation setting. |
| `setHangingPunctuation(value: NullableBool)` | Sets the hanging punctuation setting. |
| `getMarginLeft()` → `double` | Returns the left margin of the paragraph. |
| `setMarginLeft(value: double)` | Sets the left margin of the paragraph. |
| `getMarginRight()` → `double` | Returns the right margin of the paragraph. |
| `setMarginRight(value: double)` | Sets the right margin of the paragraph. |
| `getIndent()` → `double` | Returns the indent of the paragraph. |
| `setIndent(value: double)` | Sets the indent of the paragraph. |
| `getDefaultTabSize()` → `double` | Returns the default tab size. |
| `setDefaultTabSize(value: double)` | Sets the default tab size. |
| `getFontAlignment()` → `FontAlignment` | Returns the font alignment. |
| `setFontAlignment(value: FontAlignment)` | Sets the font alignment. |
| `getDefaultPortionFormat()` → `IBasePortionFormat` | Returns the default portion format. |

## See Also

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