Share via


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 class 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 requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Fields

Name Value Description
Left 0

Align the bitmap's left edge with the leftmost pixel of the current charcter position.

Center 1

Align the bitmap in the horizontal center of the current character position.

Right 2

Align the bitmap's right edge with the rightmost pixel of the current charcter position.

Applies to