Copyright © 2008-2023 MultiMedia Soft

TracksBoard.SettingsLoadFromMemory method

Previous pageReturn to chapter overviewNext page

Remarks

 

Loads graphic settings of the TracksBoard from a memory buffer containing a XML file previously saved through the TracksBoard.SettingsSave method.

 

The XML file contains all settings stored inside the various TracksBoard data structures: TRACKSBOARD_GENERAL_SETTINGS, TRACKSBOARD_RULERS_SETTINGS, TRACKSBOARD_SCROLLBARS_SETTINGS and TRACKSBOARD_WAVEFORM_SETTINGS.

 

For details about the use of the TracksBoard refer to the How to use the TracksBoard to visually compose songs tutorial.

For further details about methods of the TracksBoard refer to the TracksBoard class section.

 

 

Syntax

 

[Visual Basic]

Public Function SettingsLoadFromMemory (

ms as MemoryStream

) as enumErrorCodes


 

[C#]

public enumErrorCodes SettingsLoadFromMemory (

MemoryStream ms

);


 

[C++]

public: enumErrorCodes SettingsLoadFromMemory (

MemoryStream ms

);


 

 

Parameter

Description

 

 

pBuffer

Input buffer containing the waveform analyzer settings in XML format.

nBufferLength

Length of the input buffer expressed in bytes

 

 

Return value

 

Value

Meaning

 

 

Negative value

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

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.