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]

Public Function GetSoundDuration (

) as Int32


 

[C#]

public Int32 GetSoundDuration (

);


 

[C++]

public: Int32 GetSoundDuration (

);


 

 

 

Return value

 

Value

Meaning

 

 

Value > 0

The sound duration expressed in milliseconds

Negative value

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