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

# ITextFrameFormat

## Overview

`ITextFrameFormat` is a interface in Aspose.Slides FOSS for Java.

Represents format of a text frame.

This interface provides 29 methods for working with ITextFrameFormat objects in Java programs.
Available methods include: `getAnchoringType`, `getAutofitType`, `getCenterText`, `getColumnCount`, `getColumnSpacing`, `getMarginBottom`, `getMarginLeft`, `getMarginRight`, `getMarginTop`, `getRotationAngle`, `getTextVerticalType`, `getThreeDFormat`, and 17 additional methods.
All public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package.
Properties: `anchoringType`, `autofitType`, `centerText`, `columnCount`, `columnSpacing`, `keepTextFlat`, and 9 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `marginLeft` | `double` | Read | Returns the left margin in points. |
| `marginRight` | `double` | Read | Returns the right margin in points. |
| `marginTop` | `double` | Read | Returns the top margin in points. |
| `marginBottom` | `double` | Read | Returns the bottom margin in points. |
| `wrapText` | `NullableBool` | Read | Returns the text wrapping flag. |
| `anchoringType` | `TextAnchorType` | Read | Returns the text anchoring type. |
| `centerText` | `NullableBool` | Read | Returns the text centering mode. |
| `textVerticalType` | `TextVerticalType` | Read | Returns the text vertical type. |
| `autofitType` | `TextAutofitType` | Read | Returns the text autofit type. |
| `columnCount` | `int` | Read | Returns the number of columns. |
| `columnSpacing` | `double` | Read | Returns the spacing between columns in points. |
| `threeDFormat` | `IThreeDFormat` | Read | Returns the 3D format of the text frame. |
| `keepTextFlat` | `boolean` | Read | Returns whether text is kept flat. |
| `rotationAngle` | `double` | Read | Returns the text rotation angle in degrees. |
| `transform` | `TextShapeType` | Read | Returns the text transform shape type. |

## Methods

| Signature | Description |
|-----------|-------------|
| `getMarginLeft()` → `double` | Returns the left margin in points. |
| `setMarginLeft(value: double)` | Sets the left margin in points. |
| `getMarginRight()` → `double` | Returns the right margin in points. |
| `setMarginRight(value: double)` | Sets the right margin in points. |
| `getMarginTop()` → `double` | Returns the top margin in points. |
| `setMarginTop(value: double)` | Sets the top margin in points. |
| `getMarginBottom()` → `double` | Returns the bottom margin in points. |
| `setMarginBottom(value: double)` | Sets the bottom margin in points. |
| `getWrapText()` → `NullableBool` | Returns the text wrapping flag. |
| `setWrapText(value: NullableBool)` | Sets the text wrapping flag. |
| `getAnchoringType()` → `TextAnchorType` | Returns the text anchoring type. |
| `setAnchoringType(value: TextAnchorType)` | Sets the text anchoring type. |
| `getCenterText()` → `NullableBool` | Returns the text centering mode. |
| `setCenterText(value: NullableBool)` | Sets the text centering mode. |
| `getTextVerticalType()` → `TextVerticalType` | Returns the text vertical type. |
| `setTextVerticalType(value: TextVerticalType)` | Sets the text vertical type. |
| `getAutofitType()` → `TextAutofitType` | Returns the text autofit type. |
| `setAutofitType(value: TextAutofitType)` | Sets the text autofit type. |
| `getColumnCount()` → `int` | Returns the number of columns. |
| `setColumnCount(value: int)` | Sets the number of columns. |
| `getColumnSpacing()` → `double` | Returns the spacing between columns in points. |
| `setColumnSpacing(value: double)` | Sets the spacing between columns. |
| `getThreeDFormat()` → `IThreeDFormat` | Returns the 3D format of the text frame. |
| `isKeepTextFlat()` → `boolean` | Returns whether text is kept flat. |
| `setKeepTextFlat(value: boolean)` | Sets whether text is kept flat. |
| `getRotationAngle()` → `double` | Returns the text rotation angle in degrees. |
| `setRotationAngle(value: double)` | Sets the text rotation angle in degrees. |
| `getTransform()` → `TextShapeType` | Returns the text transform shape type. |
| `setTransform(value: TextShapeType)` | Sets the text transform shape type. |

## See Also

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