In This Topic
Description
The speed that the media is playing.
Property type
Read-write property
Syntax
Visual Basic |
---|
Public Property MediaSpeed As Single
|
Return Type
Example
private void axVHX1_OnPlayerReady(object sender, EventArgs e)
{
// Set the speed to play the media.
axVHX1.Open("file:///path-to-your-file");
axVHX1.MediaSpeed = 0.5f;
}
private void axVHX1_OnPlayerEvent(object sender, AxVHXLib.IVHXEvents_OnPlayerEventEvent e)
{
// Retrieve the speed the media is being played.
Debug.WriteLine("MediaSpeed: " + axVHX1.MediaSpeed);
}
See Also