Copyright © 2001-2019 MultiMedia Soft

GetCurrentPercentage method

Previous pageReturn to chapter overviewNext page

Remarks

 

Gets the percentage of performed song during a playback session with the specified player.

 

 

Syntax

 

[Visual Basic]

control.GetCurrentPercentage (

nPlayer as Integer

) as Integer


 

[C++]

short control.GetCurrentPercentage (

short nPlayer

);


 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the player whose information must be retrieved

 

 

Return value

 

The current percentage: a return value of 0 may also indicate that an error occurred: check the LastError property in order to see if an error occurred.