Copyright © 2008-2019 MultiMedia Soft

SetOverwritePos method

Previous pageReturn to chapter overviewNext page

Remarks

 

If the loading mode for the current editing session has been set to LOAD_MODE_OVERWRITE through a previous call to the SetLoadingMode method, sets the position and range inside the current editing session where a new loaded sound will start overwriting existing sound contents.

 

 

Syntax

 

[Visual Basic]

control.SetOverwritePos (

nStartPosition as Long,

nEndPosition as Long

) as enumErrorCodes


 

[C++]

short control.SetOverwritePos (

long nStartPosition,

long nEndPosition

);


 

 

Parameter

Description

 

 

nStartPosition

Number representing the start position, expressed in milliseconds, inside the editing session where overwrite will begin

nEndPosition

Number representing the end position, expressed in milliseconds, inside the editing session where overwrite will end: if this parameter is set to -1, the overwrite will be applied till the end of the recording session

 

 

 

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.