mobileFX VHX
VHX Object / MediaDuration Property
In This Topic
    MediaDuration Property
    In This Topic
    Description
    The duration of the media currently playing.
    Property type
    Read-only property
    Syntax
    Visual Basic
    Public Property MediaDuration As Double
    Return Type
    The amount of time it will take to play the media.
    Example
    private void axVHX1_OnPlayerEvent(object sender, AxVHXLib.IVHXEvents_OnPlayerEventEvent e)
    {
        Debug.WriteLine("MediaDuration: " + axVHX1.MediaDuration);
    }
    See Also