VerticalCharacterAlignment Enum

Definition

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

public enum class VerticalCharacterAlignment
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class VerticalCharacterAlignment
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum VerticalCharacterAlignment
var value = Windows.UI.Text.VerticalCharacterAlignment.top
Public Enum VerticalCharacterAlignment
Inheritance
VerticalCharacterAlignment
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
Top 0

The character is positioned at the top edge of the bounding rectangle.

Baseline 1

The character is positioned at the text baseline.

Bottom 2

The character is positioned at the bottom edge of the bounding rectangle.

Applies to

See also