Copyright © 2006-2019 MultiMedia Soft

WaveformAnalyzer.SetDisplayRange method

Previous pageReturn to chapter overviewNext page

Remarks

 

Changes the waveform range currently displayed on the analyzer window. The current range can be obtained calling the WaveformAnalyzer.GetDisplayRange method.

 

After a call to this method the CallbackWaveformAnalyzerRange delegate is invoked.

 

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

nBeginPosInMs as Int32,

nEndPosInMs as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes SetDisplayRange (

Int32 nBeginPosInMs,

Int32 nEndPosInMs

);


 

[C++]

public: enumErrorCodes SetDisplayRange (

Int32 nBeginPosInMs,

Int32 nEndPosInMs

);


 

 

Parameter

Description

 

 

nBeginPosInMs

Number representing the displayed range start position, expressed in milliseconds

nEndPosInMs

Number representing the displayed range end position, 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 method call was successful