Copyright © 2008-2019 MultiMedia Soft

UndoApply method

Previous pageReturn to chapter overviewNext page

Remarks

 

Performs an Undo operation restoring previous sound contents.

 

In order to save system memory, by default Undo operations are disabled: you can enable them through the UndoEnable method and to know if a backup of previous sound contents is available through the UndoIsAvailable method.

 

A successful call to this method will fire the SoundEditStarted event followed by the SoundEditDone event.

 

 

Syntax

 

[Visual Basic]

control.UndoApply (

) as enumErrorCodes


 

[C++]

short control.UndoApply (

);


 

 

Return value

 

Value

Meaning

 

 

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.