Copyright © 2011-2019 MultiMedia Soft

WaveformAnalyzer.Scroll 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 CallbackWaveformAnalyzerRange delegate is invoked.

 

For further details about callback delegates see the How to synchronize the container application with the API tutorial.

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

 

 

Syntax

 

[Visual Basic]

Public Function Scroll (

nPixels as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes Scroll (

Int32 nPixels

);


 

[C++]

public: enumErrorCodes Scroll (

Int32 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)

enumErrorCodes.ERR_NOERROR (0)

The method call was successful