Copyright © 2013-2017 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 SetSelection method.

 

 

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