Copyright © 2008-2019 MultiMedia Soft

WaveformAnalyzer.SettingsLoadFromMemory method

Previous pageReturn to chapter overviewNext page

Remarks

 

Loads graphic settings of the waveform analyzer from a memory stream containing a XML file previously saved through the WaveformAnalyzer.SettingsSave method.

 

The XML file contains all settings stored inside the various waveform analyzer data structures: WANALYZER_GENERAL_SETTINGS, WANALYZER_RULERS_SETTINGS, WANALYZER_SCROLLBARS_SETTINGS and WANALYZER_WAVEFORM_SETTINGS.

 

For details about the use of the Waveform Analyzer refer to the How to use the Waveform Analyzer section.

For further details about methods of the Waveform Analyzer refer to the WaveformAnalyzer 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

 

 

ms

Memory stream containing the waveform analyzer settings in XML format.

 

 

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.