TextFormattingOptions

TextFormattingOptions

Overview

TextFormattingOptions is a class in Aspose.Pdf FOSS for Java.

Options for text formatting within paragraphs.

Properties

NameTypeAccessDescription
subsequentLinesIndentdoubleReadReturns the indent for subsequent lines (all lines except the first).
firstLineIndentdoubleReadReturns the first line indent.
lineSpacingLineSpacingModeReadReturns the line spacing mode.
wrapModeWordWrapModeReadReturns the word wrap mode.

Methods

SignatureDescription
TextFormattingOptions()Creates TextFormattingOptions with default settings.
TextFormattingOptions(wrapMode: WordWrapMode)Creates TextFormattingOptions with the specified wrap mode.
getSubsequentLinesIndent()doubleReturns the indent for subsequent lines (all lines except the first).
setSubsequentLinesIndent(indent: double)Sets the indent for subsequent lines.
getFirstLineIndent()doubleReturns the first line indent.
setFirstLineIndent(indent: double)Sets the first line indent.
getLineSpacing()LineSpacingModeReturns the line spacing mode.
setLineSpacing(mode: LineSpacingMode)Sets the line spacing mode.
getWrapMode()WordWrapModeReturns the word wrap mode.
setWrapMode(mode: WordWrapMode)Sets the word wrap mode.

See Also