Export (0) Print
Expand All
Expand Minimize

DWRITE_WORD_WRAPPING enumeration

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.

Syntax


enum DWRITE_WORD_WRAPPING {  DWRITE_WORD_WRAPPING_WRAP, 
  DWRITE_WORD_WRAPPING_NO_WRAP, 
  DWRITE_WORD_WRAPPING_EMERGENCY_BREAK, 
  DWRITE_WORD_WRAPPING_WHOLE_WORD, 
  DWRITE_WORD_WRAPPING_CHARACTER 

};

Constants

DWRITE_WORD_WRAPPING_WRAP

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

DWRITE_WORD_WRAPPING_NO_WRAP

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.

DWRITE_WORD_WRAPPING_EMERGENCY_BREAK
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.

DWRITE_WORD_WRAPPING_WHOLE_WORD
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.

DWRITE_WORD_WRAPPING_CHARACTER
Note  Windows 8.1 and later only.

Wrap between any valid character clusters.

Requirements

Minimum supported client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

Dwrite.h

 

 

Community Additions

ADD
Show:
© 2015 Microsoft