Copyright © 2008-2019 MultiMedia Soft

WaveformAnalyzer.ViewModeSet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Sets the visualization mode on the waveform analyzer. The current visualization mode can be obtained through the WaveformAnalyzer.ViewModeGet method.

 

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 ViewModeSet (

nMode as enumWaveAnalyzerViewModes

) as enumErrorCodes


 

[C#]

public enumErrorCodes ViewModeSet (

enumWaveAnalyzerViewModes nMode

);


 

[C++]

public: enumErrorCodes ViewModeSet (

enumWaveAnalyzerViewModes nMode

);


 

 

Parameter

Description

 

 

nMode

Visualization mode.

Supported values are the following:

Mnemonic constant

Value

Meaning

WANALYZER_VIEW_MODE_WAVEFORM

0

Waveform view

WANALYZER_VIEW_MODE_SPECTRAL

1

Spectral view

WANALYZER_VIEW_MODE_WAVEFORM_ABS

2

Waveform view with absolute values

 

 

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