Copyright © 2006-2019 MultiMedia Soft

WaveAnalyzerSelectionChange event

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs when a portion of the waveform on the Waveform Analyzer's display has been selected/deselected through a mouse operation or through a call to the WaveformAnalyzer.SetSelection method.

 

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.

For further details about synchronization through Events see the How to synchronize the container application through events tutorial.

 

 

Syntax

 

[Visual Basic]

Public Event WaveAnalyzerSelectionChange As WaveAnalyzerSelectionChangeEventHandler


 

[C#]

public event WaveAnalyzerSelectionChangeEventHandler WaveAnalyzerSelectionChange;


 

[C++]

public: __event WaveAnalyzerSelectionChangeEventHandler WaveAnalyzerSelectionChange;


 

 

Event Data

 

The event handler receives an argument of type WaveAnalyzerSelectionChangeEventArgs having the following parameters:

 

Parameters

Description

 

 

bSelectionAvailable

Flag for selection availability.

Supported values are the following:

Value

Meaning

false

No selection is currently available. In this case values passed through nBeginPosInMs and nEndPosInMs parameters must be ignored.

true

A selection is currently available and the start and end positions are inside nBeginPosInMs and nEndPosInMs parameters.

nBeginPosInMs

The selection's start position, expressed in milliseconds

nEndPosInMs

The selection's end position, expressed in milliseconds