Copyright © 2011-2019 MultiMedia Soft

GetPlaybackPosition method

Previous pageReturn to chapter overviewNext page

Remarks

 

Gets the current position, expressed in milliseconds, of the current playback session.

 

A formatted string of the current position can be retrieved using the GetFormattedPlaybackPosition method.

 

 

Syntax

 

[Visual Basic]

Public Function GetPlaybackPosition (

) as Int32


 

[C#]

public Int32 GetPlaybackPosition (

);


 

[C++]

public: Int32 GetPlaybackPosition (

);


 

 

 

Return value

 

Value

Meaning

 

 

Value > 0

The playback position in milliseconds

Negative value

An error occurred (see the LastError property for further error details)