| CanvasHorizontalAlignment Enumeration |
Specifies the horizontal alignment of paragraph text.
Namespace:
Microsoft.Graphics.Canvas.Text
Assembly:
Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntaxpublic enum CanvasHorizontalAlignment
Members|
| Member name | Value | Description |
|---|
| Left | 0 | The left edge of the text is aligned to the left edge of the layout box. |
| Right | 1 | The right edge of the text is aligned to the right edge of the layout box. |
| Center | 2 | The center of the text is aligned to the center of the layout box. |
| Justified | 3 | The left edge of the text is aligned to the left edge of the layout box and broken lines are aligned to the right edge. |
See Also