Remarks
Obtains the fading times applied during start and end of playback of the given file. The current fading time can be modified through the DelayedPlayback.ItemSetFadeTime method.
For details about management of delayed playbacks refer to the How to manage delayed playbacks tutorial.
Syntax
[Visual Basic]
Public Function ItemGetFadeTime (
nFileUniqueID as Int32,
ByRef nFadeInLength as Int32,
ByRef nFadeOutLength as Int32
) as enumErrorCodes
|
|
[C#]
public enumErrorCodes ItemGetFadeTime (
Int32 nFileUniqueID,
ref Int32 nFadeInLength,
ref Int32 nFadeOutLength
);
|
|
[C++]
public: enumErrorCodes ItemGetFadeTime (
Int32 nFileUniqueID,
Int32 __gc *nFadeInLength,
Int32 __gc *nFadeOutLength
);
|
|
Parameter
|
Description
|
|
|
nFileUniqueID
|
Number representing the unique identifier of the file as returned by the DelayedPlayback,ListAddItem method
|
nFadeInLength
|
Reference that, on return from the method call, will contain the fade-in time length expressed in milliseconds
|
nFadeOutLength
|
Reference that, on return from the method call, will contain 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.
|
|