SetDisplayRange method |
|
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] control.SetDisplayRange ( nBeginPosInMs as Long, nEndPosInMs as Long ) as enumWanErrorCodes |
[C++] short control.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) |
enumWanErrorCodes.ERR_WAN_NOERROR (0) |
The method call was successful |