Udostępnij za pośrednictwem


VerticalCharacterAlignment Enum

Definition

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

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

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