Share via


MediaTimelineController.ClockRate Property

Definition

Gets or sets the speed at which the position of the MediaTimelineController changes, expressed as a ratio to normal playback speed. For example, setting a value of 1.0 will result in normal playback speed, a value of 4.0 will result in a playback speed 4 times the normal speed.

public:
 property double ClockRate { double get(); void set(double value); };
double ClockRate();

void ClockRate(double value);
public double ClockRate { get; set; }
var double = mediaTimelineController.clockRate;
mediaTimelineController.clockRate = double;
Public Property ClockRate As Double

Property Value

Double

double

The speed at which the position of the MediaTimelineController changes.

Remarks

Only positive values are supported for ClockRate. Attempting to set a negative value will result in an argument exception.

Applies to