Audio Capture ActiveX Control

SetWaveWndDivisor

 

Set the divisor of  WaveForm window. This value will affect the shape of WaveForm.

Public Function SetWaveWndDivisor(
     ByVal iIndex As Integer
    )

 

Parameter
iIndex
 The index of divisor. The index value must 0-12.

No Return Value

Example

   

Visual Basic Syntax
AudioCapture1.ShowWaveForm=True
AudioCapture1.SetWaveWndCaption "My WaveForm Window"
AudioCapture1.SetWaveWndOwner me.hWnd
AudioCapture1.SetWaveWndPopup false
AudioCapture1.SetWaveWndStyle 1
AudioCapture1.SetWaveWndPos 418, 0, 400,300
AudioCapture1.SetWaveWndColor 0, RGB(255,0,0)
AudioCapture1.SetWaveWndColor 1, RGB(0,255,0)
AudioCapture1.SetWaveWndDivisor 12
AudioCapture1.WMVProfile=0
AudioCapture1.OutputType =1
AudioCapture1.AudioFileName = "c:\test.wma"
AudioCapture1.Start