WaveAnalyzerHorzLineMoving event |
|
Remarks
Occurs when a graphic item of type "horizontal line" inside the waveform analyzer is being moved through the mouse or through the WaveformAnalyzer.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.
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 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 WaveformAnalyzer.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 WaveformAnalyzer.GraphicItemHorzPositionSet method or through the mouse. Supported values are the following:
|