Project: VB6SoundRecorder
Version: 3.0.0
Report Date: 08/06/2023 12:06:16
By: Yaron Goali (WISERBIT DOT COM) for Microncode.com
User Control: cAudioGraph
Properties
AmplitudeColor [Let] - Public
Set the color of the graph when the audio graph on the AMPLITUDE_STYLE.
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
RHS |
OLE_COLOR |
AmplitudeColor [Get] - Public (Return Datatype: OLE_COLOR)
Get the color of the graph when the audio graph on the AMPLITUDE_STYLE.
BackgroundColor [Let] - Public
Set the background color of the audio graph.
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
RHS |
OLE_COLOR |
BackgroundColor [Get] - Public (Return Datatype: OLE_COLOR)
Get the background color of the audio graph.
Bands [Let] - Public
Set the number of the bands when the audio graph on the FREQUENCY_STYLE.
Minimum can be 10, maximum can be 100
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
RHS |
Long |
Bands [Get] - Public (Return Datatype: Long)
Get the number of the bands when the audio graph on the FREQUENCY_STYLE.
Minimum can be 10, maximum can be 100
BandsSpace [Let] - Public
Set the space between the bands when the audio graph on the FREQUENCY_STYLE.
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
RHS |
Long |
BandsSpace [Get] - Public (Return Datatype: Long)
Get the space between the bands when the audio graph on the FREQUENCY_STYLE.
BandsWidth [Let] - Public
Set the bands width when the audio graph on the FREQUENCY_STYLE.
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
RHS |
Long |
BandsWidth [Get] - Public (Return Datatype: Long)
Get the bands width when the audio graph on the FREQUENCY_STYLE.
BorderStyle [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
RHS |
BorderStyle |
BorderStyle [Get] - Public (Return Datatype: BorderStyle)
FreqColor [Let] - Public
Set the color of the graph when the audio graph on the FREQUENCY_STYLE.
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
RHS |
OLE_COLOR |
FreqColor [Get] - Public (Return Datatype: OLE_COLOR)
Set the color of the graph when the audio graph on the FREQUENCY_STYLE.
GraphStyle [Let] - Public
Set the audio graph style. Can be AMPLITUDE_STYLE or FREQUENCY_STYLE (0 or 1).
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
RHS |
AudioGraphStyle |
GraphStyle [Get] - Public (Return Datatype: AudioGraphStyle)
Set the audio graph style. Can be AMPLITUDE_STYLE or FREQUENCY_STYLE (0 or 1).
hWnd [Get] - Public (Return Datatype: Long)
Get the hWnd of the component.
Subroutines
About - Public
Description: Display About message box with the license details.
Display - Public
Description: Display the audio data as a graph on the component.
DisplayRegistration - Public
Description: Display registration window.
Functions
ClearGraph - Public (Return Datatype: Long)
Description: Clear the audio graph.
Return: Zero if success, or an error number describe the error.
DeInit - Public (Return Datatype: Long)
Description: DeInit the control, must be call before closing the program.
Return: 0 if success, otherwise a number describe the error.
Init - Public (Return Datatype: Long)
Description: Init the control, must be call before using any functionality of the control.
Return: 0 if success, otherwise a number describe the error.
Optional | ByVal/ByRef | Variable | Datatype |
Optional |
ByVal |
sKey |
String |
SetAudioData - Public (Return Datatype: Long)
Description: Set the audio data to display on the graph. The pAudioData is a pointer to the audio data, this value is taken from the cAudio component (AudioDataIn or cAudio1.AudioDataOut).
Return: Zero if success, or an error number describe the error.
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
pAudioData |
Long |
Event Declares
Meter - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
Meter |
Long |