**Inheritance:**
java.lang.Object, com.aspose.ms.System.ValueType<com.aspose.ms.System.Enum> com.aspose.ms.System.Enum com.aspose.pdf.TextFormattingOptions.WordWrapMode, com.aspose.ms.System.ValueType<com.aspose.ms.System.Enum>, com.aspose.ms.System.Enum com.aspose.pdf.TextFormattingOptions.WordWrapMode, com.aspose.ms.System.Enum, com.aspose.pdf.TextFormattingOptions.WordWrapMode

```
public static final class TextFormattingOptions.WordWrapMode extends com.aspose.ms.System.Enum
```

Defines word wrapping strategies

## Fields

| Field | Description |
| --- | --- |
| [ByWords](#ByWords) | Word wrapping only wraps complete words. If the complete word cannot be wrapped, attempts to use discretionary hyphenation |
| [DiscretionaryHyphenation](#DiscretionaryHyphenation) | Discretionary hyphenation is performed. Allows breaking words in the middle. |
| [NoWrap](#NoWrap) | No wrapping is performed |
| [Undefined](#Undefined) | Wrapping strategies of upper-level structure (table cell, paragraph, etc.) will be used. |

### ByWords {#ByWords}
```
public static final int ByWords
```

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

### DiscretionaryHyphenation {#DiscretionaryHyphenation}
```
public static final int DiscretionaryHyphenation
```

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

### NoWrap {#NoWrap}
```
public static final int NoWrap
```

No wrapping is performed

### Undefined {#Undefined}
```
public static final int Undefined
```

Wrapping strategies of upper-level structure (table cell, paragraph, etc.) will be used.
