TextFormattingOptions

TextFormattingOptions

Overview

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

Represents text formatting options for a TextParagraph.

This class provides 2 methods for working with TextFormattingOptions objects in .NET programs. Available methods include: TextFormattingOptions. All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package. Properties: FirstLineIndent, HyphenSymbol, LineSpacing, LineSpacingPoints, SubsequentLinesIndent, WrapMode.

Properties

NameTypeAccessDescription
WrapModeWordWrapModeRead/WriteGets or sets the word wrap mode for the paragraph.
LineSpacingLineSpacingModeRead/WriteLine-spacing interpretation mode.
LineSpacingPointsdoubleRead/WriteLine-spacing value in points.
FirstLineIndentfloatRead/WriteIndent applied to the first line of the paragraph (points).
SubsequentLinesIndentfloatRead/WriteIndent applied to lines after the first (points).
HyphenSymbolstringRead/WriteSymbol used at line breaks when hyphenation is in effect (default “-”).

Methods

SignatureDescription
TextFormattingOptions()Calls TextFormattingOptions on this TextFormattingOptions instance.
TextFormattingOptions(wrapMode: WordWrapMode)Construct with an explicit wrap mode.

See Also