Copyright © 2008-2019 MultiMedia Soft

GetSoundDuration method

Previous pageReturn to chapter overviewNext page

Remarks

 

Gets the duration, expressed in milliseconds, of the sound under editing.

 

A formatted string of the sound duration can be retrieved using the GetFormattedSoundDuration method.

 

 

Syntax

 

[Visual Basic]

control.GetSoundDuration (

) as long


 

[C++]

long control.GetSoundDuration (

);


 

 

Return value

 

Value

Meaning

 

 

Value > 0

The sound duration in milliseconds

Negative value

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