Copyright © 2001-2019 MultiMedia Soft

DelayedPlayback.ItemSetFadeTime method

Previous pageReturn to chapter overviewNext page

Remarks

 

Sets the fading times applied during start and end of playback of the given file. The current fading time can be obtained through the DelayedPlayback.ItemGetFadeTime method.

 

For details about management of delayed playbacks refer to the How to manage delayed playbacks tutorial.

 

 

Syntax

 

[Visual Basic]

control.DelayedPlayback.ItemSetFadeTime (

nFileUniqueID as Long,

nFadeInLength as Long,

nFadeOutLength as Long

) as enumErrorCodes


 

[C++]

long control.DelayedPlayback.ItemSetFadeTime (

long nFileUniqueID,

long nFadeInLength,

long nFadeOutLength

);


 

 

Parameter

Description

 

 

nFileUniqueID

Number representing the unique identifier of the file as returned by the DelayedPlayback,ListAddItem method

nFadeInLength

The fade-in time length expressed in milliseconds

nFadeOutLength

The fade-out time length expressed in milliseconds

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred (see the LastError property for further error details)

enumErrorCodes.ERR_NOERROR (0)

The call was successful.