Copyright © 2013-2017 MultiMedia Soft

WaveAnalyzerLineMoving event

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs when a graphic item of type "vertical line" inside the waveform analyzer is being moved through the mouse or through the GraphicItemHorzPositionSet method.

 

For details about graphic items management on the waveform analyzer refer to the How to add graphic items to the Waveform analyzer 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 GraphicItemVerticalLineAdd method.

nPosInMs

New position of the vertical line expressed in milliseconds

bMovedByCode

Boolean value that specifies if the custom vertical line was moved through the GraphicItemHorzPositionSet 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 GraphicItemHorzPositionSet method