Udostępnij za pośrednictwem


TimedTextDisplayAlignment Enum

Definition

Specifies the alignment of a TimedTextRegion relative to the video frame.

public enum class TimedTextDisplayAlignment
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class TimedTextDisplayAlignment
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum TimedTextDisplayAlignment
var value = Windows.Media.Core.TimedTextDisplayAlignment.before
Public Enum TimedTextDisplayAlignment
Inheritance
TimedTextDisplayAlignment
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
Before 0

The text region is aligned in the direction of the start of the text.

After 1

The text region is aligned in the direction of the end of the text.

Center 2

The text region is aligned in the center.

Applies to