BASS.NET API for the Un4seen BASS Audio LibraryWaveFormClearAllMarker Method BASS.NET API for the Un4seen BASS Audio Library
Removes all markers from the WaveForm.

Namespace: Un4seen.Bass.Misc
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.12.0
Syntax

public bool ClearAllMarker()

Return Value

Type: Boolean
on success, else .
Remarks

Markers might be used to highlight certain positions within a WaveForm, e.g. Cue-, Ramp-, Fade- or Mix-Points.

Use the DrawMarker property to define if and how markers should be drawn within the WaveForm. The ColorMarker property will be used as the the drawing color.

In order to remove all markers use the ClearAllMarker method. If you need to add new markers or replace an existing marker use the AddMarker(String, Int64) method.

Before removing markers the Wave buffer must have been created. So make sure this method is only called after WaveFormLoadFromFile(String), RenderStartRecording(Int32, Int32, Int32) or RenderStart(Int32, Boolean).

To obtain a list of all markers you might use the marker dictionary member (Key=name, Value=position) of the Wave property.

See Also

Reference