TextFormattingOptions

TextFormattingOptions

Overview

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

Options for text formatting within paragraphs.

This class provides 10 methods for working with TextFormattingOptions objects in Java programs. Available methods include: TextFormattingOptions, getFirstLineIndent, getLineSpacing, getSubsequentLinesIndent, getWrapMode, setFirstLineIndent, setLineSpacing, setSubsequentLinesIndent, setWrapMode. All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package. Properties: firstLineIndent, lineSpacing, subsequentLinesIndent, wrapMode.

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

 English