SubLib Subtitle Library

Synchronization.FramesToTime Method 

Converts the specified frames to time, given a frame rate.

public static TimeSpan FramesToTime(
   double frames,
   float frameRate
);

Parameters

frames
The frames to convert to time.
frameRate
The frame rate to be used in the conversion.

Return Value

The time corresponding to the specified frames at the specified frame rate.

See Also

Synchronization Class | SubLib Namespace