Adds a new horizontal line that will be displayed over the waveform's graphics.
On the screenshot below you can see a set of horizontal lines displayed over the waveform, each with its own set of properties, positions and buddy text:
This line can be manually moved on the screen in one of the following ways:
During playback of the loaded sound, the WaveAnalyzerHorzLineReached event is generated when playback position reaches the start position of the horizontal line and the WaveAnalyzerHorzLineLeaved event is generated when playback position leaves the end position of the horizontal line.
This method fails if no sound is currently loaded into the editor.
The horizontal line is automatically destroyed, as all of the other existing graphic items, when the loaded sound is discarded from memory through the FreeMemory method.
For details about graphic items management on the waveform analyzer refer to the How to add graphic items to the Waveform analyzer section.