Copyright © 2006-2018 MultiMedia Soft

RecordedSound.RequestDeleteRange method

Previous pageReturn to chapter overviewNext page



Requests to edit the recorded sound deleting the given sound range.


A successful call to this method will fire the SoundEditStarted event. Once this editing operation has been performed completely, the control will fire the SoundEditDone event.


For further details about recorded sound methods refer to the RecordedSound object section.

For further details see the How to perform a recording session section.





[Visual Basic]

control.RecordedSound.RequestDeleteRange (

nStartPosition as Long,

nEndPosition as Long

) as enumErrorCodes



short control.RecordedSound.RequestDeleteRange (

long nStartPosition,

long nEndPosition









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


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






Negative value

An error occurred, check the LastError property value in order to see the error code meaning

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.