Copyright © 2001-2019 MultiMedia Soft

GetCurrentPercentageFloat 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.GetCurrentPercentageFloat (

nPlayer as Integer

) as single


 

[C++]

float control.GetCurrentPercentageFloat (

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.0 may also indicate that an error occurred: check the LastError property in order to see if an error occurred.