AngleSharp by Florian Rappl

<PackageReference Include="AngleSharp" Version="0.8.9" />

 ITextTrackCue

public interface ITextTrackCue : IEventTarget
Represents a text track cue.
string Alignment { get; set; }

Gets or sets a string representing the text track cue alignment, as follows. If it is start alignment: the string "start". If it is middle alignment: the string "middle". If it is end alignment: the string "end". If it is left alignment: the string "left". If it is right alignment: the string "right".

double EndTime { get; set; }

Gets or sets the text track cue end time, in seconds.

DomEventHandler Entered { get; set; }

Event triggered after entering.

DomEventHandler Exited { get; set; }

Event triggered after exiting.

string Id { get; set; }

Gets the text track cue identifier.

bool IsPausedOnExit { get; set; }

Gets or sets the text track cue pause-on-exit flag.

bool IsSnappedToLines { get; set; }

Gets or sets the text track cue snap-to-lines flag.

int Line { get; set; }

Gets or sets the text track cue line position. In the case of the value being auto, the string "auto" is returned.

int Position { get; set; }

Gets or sets the text track cue text position.

int Size { get; set; }

Gets or sets the text track cue size.

double StartTime { get; set; }

Gets or sets the text track cue start time, in seconds.

string Text { get; set; }

Gets or sets the text track cue text in raw unparsed form.

ITextTrack Track { get; }

Gets the assigned track for this cue.

string Vertical { get; set; }

Gets or sets a string representing the text track cue writing direction, as follows. If it is horizontal: The empty string. If it is vertical growing left: The string "rl". If it is vertical growing right: The string "lr".

Returns the text track cue text as a DocumentFragment of HTML elements and other DOM nodes.