TimedTextRegion Class
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.
Exposes properties for customizing the appearance of the rendering area of a TimedTextCue.
public ref class TimedTextRegion sealed
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class TimedTextRegion final
/// [Windows.Foundation.Metadata.ContractVersion(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")]
class TimedTextRegion final
[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
function TimedTextRegion()
Public NotInheritable Class TimedTextRegion
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
Constructors
Timed |
Initializes a new instance of the TimedTextRegion class. |
Properties
Background |
Gets or sets the background color of the TimedTextRegion. |
Display |
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. |
Is |
Gets or sets a value indicating whether text overflowing the region is clipped. |
Line |
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. |
Scroll |
Gets a value indicating the method in which lines of text scroll through the region. |
Text |
Gets or sets a value indicating whether text wraps when it reaches the edge of the TimedTextRegion. |
Writing |
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 |