Copyright © 2008-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 control will fire the WaveAnalyzerDisplayRangeChange event.

 

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 object section.

 

 

Syntax

 

[Visual Basic]

control.WaveformAnalyzer.SetDisplayRange (

nBeginPosInMs as Long,

nEndPosInMs as Long

) as enumErrorCodes


 

[C++]

short control.WaveformAnalyzer.SetDisplayRange (

long nBeginPosInMs,

long 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