TextFormattingOptions
Overview
TextFormattingOptions is a class in Aspose.Pdf FOSS for Java.
Options for text formatting within paragraphs.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
subsequentLinesIndent | double | Read | Returns the indent for subsequent lines (all lines except the first). |
firstLineIndent | double | Read | Returns the first line indent. |
lineSpacing | LineSpacingMode | Read | Returns the line spacing mode. |
wrapMode | WordWrapMode | Read | Returns the word wrap mode. |
Methods
| Signature | Description |
|---|---|
TextFormattingOptions() | Creates TextFormattingOptions with default settings. |
TextFormattingOptions(wrapMode: WordWrapMode) | Creates TextFormattingOptions with the specified wrap mode. |
getSubsequentLinesIndent() → double | Returns the indent for subsequent lines (all lines except the first). |
setSubsequentLinesIndent(indent: double) | Sets the indent for subsequent lines. |
getFirstLineIndent() → double | Returns the first line indent. |
setFirstLineIndent(indent: double) | Sets the first line indent. |
getLineSpacing() → LineSpacingMode | Returns the line spacing mode. |
setLineSpacing(mode: LineSpacingMode) | Sets the line spacing mode. |
getWrapMode() → WordWrapMode | Returns the word wrap mode. |
setWrapMode(mode: WordWrapMode) | Sets the word wrap mode. |