Share via


TimedTextRegion Class

Definition

Exposes properties for customizing the appearance of the rendering area of a TimedTextCue.

[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class TimedTextRegion
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
public sealed class TimedTextRegion
Inheritance
Object TimedTextRegion
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Constructors

TimedTextRegion()

Initializes a new instance of the TimedTextRegion class.

Properties

Background

Gets or sets the background color of the TimedTextRegion.

DisplayAlignment

Gets or sets the display alignment of the TimedTextRegion.

Extent

Gets or sets the extent of the TimedTextRegion, which is the rendered size of the region either in pixels or in percentage of available space.

IsOverflowClipped

Gets or sets a value indicating whether text overflowing the region is clipped.

LineHeight

Gets or sets a value that indicates the height of each line of content.

Name

Gets or sets a string representing the name of the TimedTextRegion.

Padding

Gets or sets a value that indicates the thickness of padding space between the boundaries of the content area and the content displayed by a TimedTextRegion.

Position

Gets or sets the position of the TimedTextRegion, relative to the top left corner of the video frame.

ScrollMode

Gets a value indicating the method in which lines of text scroll through the region.

TextWrapping

Gets or sets a value indicating whether text wraps when it reaches the edge of the TimedTextRegion.

WritingMode

Gets or sets a value indicating the direction that text flows within the TimedTextRegion.

ZIndex

Gets or sets the Z-order of the TimedTextRegion, relative to other active regions on the screen, in case they overlap.

Applies to

Product Versions
WinRT Build 10240, Build 10586, Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100