OnWaveformAnalyzerLineMoved event |
|
Remarks
Occurs when a graphic item of type "vertical line" inside the waveform analyzer is being moved through the mouse or through the WaveformAnalyzer.GraphicItemHorzPositionSet method.
This event replaces the usage of the CallbackWaveformAnalyzerLineMoved delegate and is only intended for usage with applications developed using Visual Basic 6 (which results unreliable when dealing with delegates and callbacks) and, in order to be enabled, requires a call to the COMEventEnable method with the nEventType parameter set to EVENT_TYPE_REC_WAVE_VERT_LINE_MOVED.
For details about graphic items management on the waveform analyzer refer to the How to add graphic items to the Waveform analyzer section.
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 6] Private Sub RecorderApi_OnWaveformAnalyzerLineMoved ( _ ByVal nUniqueID as Integer, _ ByVal nPosInMs as Long _ )
where "RecorderApi" is declared in Visual Basic 6 code as:
Dim WithEvents RecorderApi As AudioSoundRecorderApi.AudioSoundRecorderApiObj |
Event Data
Parameters |
Description |
|
|
nUniqueID |
Unique identifier of the vertical line; this unique identifier matches the unique identifier used when the custom line was created through the WaveformAnalyzer.GraphicItemVerticalLineAdd method. |
nPosInMs |
New position of the vertical line expressed in milliseconds |