Copyright © 2013-2017 MultiMedia Soft

GetDisplayRange method

Previous pageReturn to chapter overviewNext page

Remarks

 

Retrieves the waveform range currently displayed on the analyzer window. The current range can be modified calling the SetDisplayRange method.

 

 

Syntax

 

[Visual Basic]

control.GetDisplayRange (

nBeginPosInMs as Long,

nEndPosInMs as Long

) as enumWanErrorCodes


 

[C++]

short control.GetDisplayRange (

long *nBeginPosInMs,

long *nEndPosInMs

);


 

Parameter

Description

 

 

nBeginPosInMs

Reference that, after returning from the method call, will contain the displayed range start position, expressed in milliseconds

nEndPosInMs

Reference that, after returning from the method call, will contain 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