TimedTextLineAlignment Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the alignment of a TimedTextLine relative to the TimedTextRegion in which it is displayed.
public enum class TimedTextLineAlignment
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class TimedTextLineAlignment
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum TimedTextLineAlignment
var value = Windows.Media.Core.TimedTextLineAlignment.start
Public Enum TimedTextLineAlignment
- Inheritance
-
TimedTextLineAlignment
- 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 |
---|---|---|
Start | 0 | The text line is aligned in the direction of the start of the text. |
End | 1 | The text line is aligned in the direction of the end of the text. |
Center | 2 | The text line is aligned in the center of the region. |
Remarks
The visual direction in which the text is aligned for each value depends on the TimedTextFlowDirection value of the text.