Class WaveformPainter
Windows Forms control for painting audio waveforms.
Inherited Members
Namespace: VisioForge.Core.UI.WinForms.VolumeMeterPro
Assembly: VisioForge.Core.dll
Syntax
public class WaveformPainter : Control, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable
Constructors
WaveformPainter()
Initializes a new instance of the WaveformPainter class.
Declaration
public WaveformPainter()
Properties
Boost
Gets or sets boost value. Range is 0.0 - 5.0.
Declaration
public float Boost { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
Methods
AddMax(float)
Adds meter max value.
Declaration
public void AddMax(float maxSample)
Parameters
| Type | Name | Description |
|---|---|---|
| float | maxSample | Sample value. |
Clear()
Clears and refreshes control.
Declaration
public void Clear()
Dispose(bool)
Clean up any resources being used.
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing | true if managed resources should be disposed; otherwise, false. |
Overrides
OnForeColorChanged(EventArgs)
On ForeColorChanged event.
Declaration
protected override void OnForeColorChanged(EventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| EventArgs | e | Event args. |
Overrides
OnPaint(PaintEventArgs)
OnPaint event.
Declaration
protected override void OnPaint(PaintEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| PaintEventArgs | e | Event args. |
Overrides
OnResize(EventArgs)
On Resize event.
Declaration
protected override void OnResize(EventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| EventArgs | e | Event args. |