Share via


LineDisplayVerticalAlignment Enum

Definition

Defines the constants that indicate the vertical alignment of text on a line display, relative to the current text character position.

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

Align the bitmap's top edge with the topmost pixel of the current charcter position.

Center 1

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

Bottom 2

Align the bitmap's bottom edge with the bottommost pixel of the current charcter position.

Applies to