LineDisplayHorizontalAlignment Enum
Definition
Defines the constants that indicate the horizontal alignment of text on a line display, relative to the current text character position.
public enum class LineDisplayHorizontalAlignment
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
enum LineDisplayHorizontalAlignment
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
public enum LineDisplayHorizontalAlignment
var value = Windows.Devices.PointOfService.LineDisplayHorizontalAlignment.left
Public Enum LineDisplayHorizontalAlignment
- Inheritance
-
LineDisplayHorizontalAlignment
- Attributes
Windows 10 requirements
Device family |
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v5.0)
|
Fields
Center | 1 | Align the bitmap in the horizontal center of the current character position. |
Left | 0 | Align the bitmap's left edge with the leftmost pixel of the current charcter position. |
Right | 2 | Align the bitmap's right edge with the rightmost pixel of the current charcter position. |