Copyright © 2006-2019 MultiMedia Soft

CallbackWaveformAnalyzerHorzLineMoved delegate

Previous pageReturn to chapter overviewNext page

Remarks

 

Callback delegate invoked every time a graphic item of type "horizontal line" inside the waveform analyzer has been moved through the mouse or through the WaveformAnalyzer.GraphicItemHorzPositionSet method or through the WaveformAnalyzer.GraphicItemVertPositionSet method: this callback can be set through a call to the CallbackWaveformAnalyzerLineMovedSet method.

 

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 Delegate Sub CallbackWaveformAnalyzerLineMoved (

nUniqueID as Int16,

nStartPosInMs as Int32

nEndPosInMs as Int32

)


 

[C#]

public delegate void CallbackWaveformAnalyzerLineMoved (

Int16 nUniqueID,

Int32 nStartPosInMs,

Int32 nEndPosInMs

)


 

[C++]

public delegate void CallbackWaveformAnalyzerLineMoved (

Int16 nUniqueID,

Int32 nStartPosInMs,

Int32 nEndPosInMs

)


 

Parameter

Description

 

 

nUniqueID

Unique identifier of the horizontal line; this unique identifier matches the unique identifier used when the custom line was created through the WaveformAnalyzer.GraphicItemHorizontalLineAdd method.

nStartPosInMs

New start position of the horizontal line expressed in milliseconds

nEndPosInMs

New end position of the horizontal line expressed in milliseconds