Copyright © 2008-2018 MultiMedia Soft

SetInsertPos method

Previous pageReturn to chapter overviewNext page

Remarks

 

If the loading mode for the current editing session has been set to LOAD_MODE_INSERT through a previous call to the SetLoadingMode method, sets the position inside the current editing session where a new loaded sound will be inserted.

 

 

Syntax

 

[Visual Basic]

control.SetInsertPos (

nPosition as Long

) as enumErrorCodes


 

[C++]

short control.SetInsertPos (

long nPosition

);


 

 

Parameter

Description

 

 

nPosition

Insertion position expressed in milliseconds.

 

 

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.