CanvasLineBreakCondition Enumeration |
Describes conditions at the edges of inline objects that determine line-breaking behavior.
Namespace:
Microsoft.Graphics.Canvas.Text
Assembly:
Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax public enum CanvasLineBreakCondition
Members
| Member name | Value | Description |
---|
| Neutral | 0 | Indicates that breaks are determined by the neighboring text span or inline object. |
| CanBreak | 1 | Indicates that breaks are allowed, unless overruled by the neighboring text span or inline object: either prohibited by a CannotBreak or forced by a MustBreak. |
| CannotBreak | 2 | Indicates that there should be no line break, unless overruled by a MustBreak from the neighboring text span or inline object. |
| MustBreak | 3 | Indicates that a line break must happen, regardless of anything else. |
See Also