Viscom Software SoundVolume ActiveX Control

W7SetDeviceVolume method

Description:   

Set the volume of current selected device. (this method support on windows 10, windows 8, windows 7 and vista only).

Usage:   

SoundVolume1.W7SetDeviceVolume

Parameters:   

float - the value of volume, the range from 0 - 1.

Return Type:   

Return true if successful.

Example:   

SoundVolume1.W7SetCurrentDevice Combo1.List(Combo1.ListIndex)

SoundVolume1.W7SetDeviceVolume 0.5