Copyright © 2013-2017 MultiMedia Soft

ScrollDisplay method

Previous pageReturn to chapter overviewNext page

Remarks

 

Scrolls the waveform horizontally of a given amount of pixels

 

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

 

 

Syntax

 

[Visual Basic]

control.ScrollDisplay (

nPixels as Long

) as enumWanErrorCodes


 

[C++]

short control.ScrollDisplay (

long nPixels

);


 

Parameter

Description

 

 

nPixels

Amount of pixels to scroll.

Value

Meaning

Negative value

Scroll the waveform to the left of the given amount of pixels

Positive value

Scroll the waveform to the right of the given amount of pixels

 

 

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