Table of Contents

Enum WordWrapping

Namespace
SharpDX.DirectWrite
Assembly
SharpDX.Direct2D1.dll

Specifies the word wrapping to be used in a particular multiline paragraph.

Note??DWRITE_WORD_WRAPPING_EMERGENCY_BREAK, DWRITE_WORD_WRAPPING_WHOLE _WORD, and DWRITE_WORD_WRAPPING_CHARACTER are available in Windows?8.1 and later, only.?
public enum WordWrapping

Fields

Character = 4
Note??Windows?8.1 and later only. ?

Wrap between any valid character clusters.

EmergencyBreak = 2
Note??Windows?8.1 and later only. ?

Words are broken across lines to avoid text overflowing the layout box. Emergency wrapping occurs if the word is larger than the maximum width.

NoWrap = 1

Indicates that words are kept within the same line even when it overflows the layout box. This option is often used with scrolling to reveal overflow text.

WholeWord = 3
Note??Windows?8.1 and later only. ?

When emergency wrapping, only wrap whole words, never breaking words when the layout width is too small for even a single word.

Wrap = 0

Indicates that words are broken across lines to avoid text overflowing the layout box.