Copyright © 2006-2011 MultiMedia Soft

WaveAnalyzerLineMoving event

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs when a custom vertical line inside the waveform analyzer is being moved through the mouse or through the WaveformAnalyzer.VerticalLineSetPosition 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.

 

 

Syntax

 

[Visual Basic]

Public Event WaveAnalyzerLineMoving As WaveAnalyzerLineMovingEventHandler


 

[C#]

public event WaveAnalyzerLineMovingEventHandler WaveAnalyzerLineMoving;


 

[C++]

public: __event WaveAnalyzerLineMovingEventHandler WaveAnalyzerLineMoving;


 

 

Event Data

 

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

 

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.VerticalLineAdd or WaveformAnalyzer.VerticalLineAddWithName methods.

nPosInMs

New position of the vertical line expressed in milliseconds

bMovedByCode

Boolean value that specifies if the custom vertical line was moved through the WaveformAnalyzer.VerticalLineSetPosition method or through the mouse.

Supported values are the following:

Value

Meaning

false

The line was moved through the mouse

true

The line was moved through the WaveformAnalyzer.VerticalLineSetPosition method