TimedTextSubformat Klasse

Definition

Definiert einen TimedTextStyle für eine Teilzeichenfolge in einer TimedTextLine. des Hinweises, der den Stil des gerenderten Texts definiert.

public ref class TimedTextSubformat 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 TimedTextSubformat 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 TimedTextSubformat 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 TimedTextSubformat
[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 TimedTextSubformat
function TimedTextSubformat()
Public NotInheritable Class TimedTextSubformat
Vererbung
Object Platform::Object IInspectable TimedTextSubformat
Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 (eingeführt in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v1.0)

Konstruktoren

TimedTextSubformat()

Initialisiert eine neue instance der TimedTextSubformat-Klasse.

Eigenschaften

Length

Ruft die Länge der Teilzeichenfolge ab, auf die subformatStyle angewendet wird, oder legt diese fest.

StartIndex

Ruft den Sternungsindex der Teilzeichenfolge ab, auf die subformatStyle angewendet wird, oder legt diesen fest.

SubformatStyle

Ruft das TimedTextStyle-Objekt ab, das die Formatierung einer Teilzeichenfolge in einer TimedTextLine vermittelt, oder legt es fest.

Gilt für:

Weitere Informationen