MediaTimelineController.ClockRate Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.