OnWaveformAnalyzerRange event |
|
Remarks
Occurs when the sound waveform's range displayed on the Waveform Analyzer's display has been changed after a zooming operation or after a scrolling operation or after a call to the WaveformAnalyzer.SetDisplayRange method.
This event replaces the usage of the CallbackWaveformAnalyzerRange 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_RANGE_CHANGED.
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_OnWaveformAnalyzerRange ( _ ByVal nBeginPosInMs as Long, _ ByVal nEndPosInMs as Long _ )
where "RecorderApi" is declared in Visual Basic 6 code as:
Dim WithEvents RecorderApi As AudioSoundRecorderApi.AudioSoundRecorderApiObj |
Event Data
Parameters |
Description |
|
|
nBeginPosInMs |
Displayed range start position, expressed in milliseconds |
nEndPosInMs |
Displayed range end position, expressed in milliseconds |