Copyright © 2013-2017 MultiMedia Soft

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 GetDisplayRange method.

 

After a call to this method the control will fire the WaveAnalyzerDisplayRangeChange event.

 

 

Syntax

 

[Visual Basic]

Public Function SetDisplayRange (

nBeginPosInMs as Int32,

nEndPosInMs as Int32

) as enumWanErrorCodes


 

[C#]

public enumWanErrorCodes SetDisplayRange (

Int32 nBeginPosInMs,

Int32 nEndPosInMs

);


 

[C++]

public: enumWanErrorCodes 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)

enumWanErrorCodes.ERR_WAN_NOERROR (0)

The method call was successful