Copyright © 2005-2019 MultiMedia Soft

VolumeAutomation.SaveToMemoryStream method

Previous pageReturn to chapter overviewNext page

Remarks

 

Saves the existing volume automation procedure into a memory stream in XML format. The volume automation procedure can be loaded at a later time through the VolumeAutomation.LoadFromMemoryStream method.

 

For details about using Volume Automation and for a reference about VDJ format refer to the How to manage Volume Automation tutorial.

 

 

Syntax

 

[Visual Basic]

Public Function SaveToMemoryStream (

nPlayerIndex as Int16,

ms as MemoryStream

) as enumErrorCodes


 

[C#]

public enumErrorCodes SaveToMemoryStream (

Int16 nPlayerIndex,

MemoryStream ms

);


 

[C++]

public: enumErrorCodes SaveToMemoryStream (

Int16 nPlayerIndex,

MemoryStream ms

);


 

 

Parameter

Description

 

 

nPlayerIndex

Number representing the zero-based index of the involved player

ms

Memory stream for storing Cue Points in XML format

 

 

Return value

 

Value

Meaning

 

 

Negative value

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

enumErrorCodes.NOERROR (0)

The method call was successful.