Dela via


HorizontalCharacterAlignment Enum

Definition

Specifies the horizontal position of a character relative to a bounding rectangle.

public enum class HorizontalCharacterAlignment
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class HorizontalCharacterAlignment
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum HorizontalCharacterAlignment
var value = Windows.UI.Text.HorizontalCharacterAlignment.left
Public Enum HorizontalCharacterAlignment
Inheritance
HorizontalCharacterAlignment
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
Left 0

The character is at the left edge of the bounding rectangle.

Right 1

The character is at the right edge of the bounding rectangle.

Center 2

The character is at the center of the bounding rectangle.

Applies to

See also