Share via


HorizontalCharacterAlignment Enum

Definition

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

public enum class HorizontalCharacterAlignment
/// [Windows.Foundation.Metadata.Version(1)]
enum class HorizontalCharacterAlignment
[Windows.Foundation.Metadata.Version(1)]
public enum HorizontalCharacterAlignment
var value = Microsoft.UI.Text.HorizontalCharacterAlignment.left
Public Enum HorizontalCharacterAlignment
Inheritance
HorizontalCharacterAlignment
Attributes

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