TextFormattingOptions.WordWrapMode

Inheritance: java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum

public static final class TextFormattingOptions.WordWrapMode extends System.Enum

Defines word wrapping strategies

Fields

FieldDescription
NoWrapNo wrapping is performed
DiscretionaryHyphenationDiscretionary hyphenation is performed.
ByWordsWord wrapping only wraps complete words.
UndefinedWordWrapMode not set.

NoWrap

public static final int NoWrap

No wrapping is performed

DiscretionaryHyphenation

public static final int DiscretionaryHyphenation

Discretionary hyphenation is performed. Allows breaking words in the middle.

ByWords

public static final int ByWords

Word wrapping only wraps complete words. If the complete word cannot be wrapped, attempts to use discretionary hyphenation

Undefined

public static final int Undefined

WordWrapMode not set. Wrapping strategie of upper level structure (table cell, paragraph etc.) will be used.