Copyright © 2008-2019 MultiMedia Soft

DeleteRange method

Previous pageReturn to chapter overviewNext page

Remarks

 

Modifies the sound under editing deleting the given sound range.

 

A successful call to this method will fire the SoundEditStarted event followed by a number of SoundEditPerc events and finally by the SoundEditDone event.

 

 

Syntax

 

[Visual Basic]

Public Function DeleteRange (

nStartPosition as Int32,

nEndPosition as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes DeleteRange (

Int32 nStartPosition,

Int32 nEndPosition

);


 

[C++]

public: enumErrorCodes DeleteRange (

Int32 nStartPosition,

Int32 nEndPosition

);


 

Parameter

Description

 

 

nStartPosition

Start position, expressed in milliseconds, of the sound range to delete

nEndPosition

End position, expressed in milliseconds, of the sound range to delete. If set to -1 the end position will be set to the end of the sound.

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred. Check the LastError property value in order to see the last error.

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.