Class VolumeMeter
Windows Forms volume meter.
Inheritance
VolumeMeter
Implements
Inherited Members
Namespace: VisioForge.Core.UI.WinForms.VolumeMeterPro
Assembly: VisioForge.Core.dll
Syntax
public class VolumeMeter : UserControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl
Constructors
VolumeMeter()
Initializes a new instance of the VolumeMeter class.
Declaration
public VolumeMeter()
Properties
Amplitude
Gets or sets current value.
Declaration
public float Amplitude { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
Boost
Gets or sets boost value.
Declaration
public float Boost { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
MaxDb
Gets or sets maximum decibels.
Declaration
public float MaxDb { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
MinDb
Gets or sets minimum decibels.
Declaration
public float MinDb { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
Orientation
Gets or sets meter orientation.
Declaration
public Orientation Orientation { get; set; }
Property Value
| Type | Description |
|---|---|
| Orientation |
Methods
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)
OnForeColorChanged event.
Declaration
protected override void OnForeColorChanged(EventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| EventArgs | e | Event args. |
Overrides
OnPaint(PaintEventArgs)
Paints the volume meter.
Declaration
protected override void OnPaint(PaintEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| PaintEventArgs | e | Event args. |