Aspose::Pdf::Text::TextFormattingOptions class

TextFormattingOptions class

Represents text formatting options.

class TextFormattingOptions : public Aspose::Pdf::Text::TextOptions

Methods

MethodDescription
get_FirstLineIndent() constGets first line indent value.
get_HyphenSymbol() constGets hyphen symbol that is used in hyphenation process.
get_LineSpacing() constGets line spacing mode. Default value is LineSpacingMode.FontSize.
get_SubsequentLinesIndent() constGets subsequent lines indent value.
get_WrapMode() constGets word wrap mode. Default value is WordWrapMode.NoWrap.
set_FirstLineIndent(float)Sets first line indent value.
set_HyphenSymbol(System::String)Sets hyphen symbol that is used in hyphenation process.
set_LineSpacing(TextFormattingOptions::LineSpacingMode)Sets line spacing mode. Default value is LineSpacingMode.FontSize.
set_SubsequentLinesIndent(float)Sets subsequent lines indent value.
set_WrapMode(TextFormattingOptions::WordWrapMode)Sets word wrap mode. Default value is WordWrapMode.NoWrap.
TextFormattingOptions(TextFormattingOptions::WordWrapMode)Initializes new instance of the TextFormattingOptions object for the specified word wrap mode.
TextFormattingOptions()Initializes new instance of the TextFormattingOptions object with undefined word wrap mode.

See Also