CanvasWordWrapping Enumeration |
Specifies word wrapping behavior.
Namespace:
Microsoft.Graphics.Canvas.Text
Assembly:
Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax public enum CanvasWordWrapping
Members
| Member name | Value | Description |
---|
| Wrap | 0 | Words are broken across lines to avoid text overflowing the layout box. |
| NoWrap | 1 | 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. |
See Also