Enum WordWrapping
- Namespace
- PaintDotNet.DirectWrite
- Assembly
- PaintDotNet.Windows.dll
Specifies the word wrapping to be used in a particular multiline paragraph.
public enum WordWrapping
Fields
Wrap = 0
Indicates that words are broken across lines to avoid text overflowing the layout box.
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.
EmergencyBreak = 2
Words are broken across lines to avoid text overflowing the layout box. Emergency wrapping occurs if the word is larger than the maximum width.
WholeWord = 3
When emergency wrapping, only wrap whole words, never breaking words when the layout width is too small for even a single word.
Character = 4
Wrap between any valid character clusters.