StringAlignment Enum
NuGet: GHIElectronics.TinyCLR.Drawing
Assembly: GHIElectronics.TinyCLR.Drawing
Namespace: System.Drawing
Specifies how text is aligned within its layout rectangle.
public enum StringAlignment
Fields
| Name | Value | Description |
|---|---|---|
Near | 0 | Text is aligned near the layout origin (left or top). |
Center | 1 | Text is centered within the layout rectangle. |
Far | 2 | Text is aligned far from the layout origin (right or bottom). |