SubLib Subtitle Library

Subtitles.ShiftTimings Method (TimeSpan, Int32, Int32)

Shifts a range of subtitles a specified amount of time.

public void ShiftTimings(
   TimeSpan time,
   int startIndex,
   int endIndex
);

Parameters

time
The time to use, which can be positive or negative.
startIndex
The subtitle index the range begins with.
endIndex
The subtitle index the range ends with.

See Also

Subtitles Class | SubLib Namespace | Subtitles.ShiftTimings Overload List