Copyright © 2013-2017 MultiMedia Soft

WaveAnalyzerHorzLineMoving event

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs when a graphic item of type "horizontal 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 WaveAnalyzerHorzLineMoving As WaveAnalyzerHorzLineMovingEventHandler


 

[C#]

public event WaveAnalyzerHorzLineMovingEventHandler WaveAnalyzerHorzLineMoving;


 

[C++]

public: __event WaveAnalyzerHorzLineMovingEventHandler WaveAnalyzerHorzLineMoving;


 

 

Event Data

 

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

 

Parameters

Description

 

 

nUniqueID

Unique identifier of the horizontal line; this unique identifier matches the unique identifier used when the custom line was created through the GraphicItemHorizontalLineAdd method.

nStartPosInMs

Start position of the horizontal line expressed in milliseconds

nEndPosInMs

End position of the horizontal line expressed in milliseconds

bMovedByCode

Boolean value that specifies if the horizontal 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