VolumeAutomation.PointEnable method |
|
Remarks
Enables/disables the given volume point. You can know if a volume point is enabled or disabled through the VolumeAutomation.PointIsEnabled method.
For details about using Volume Automation refer to the How to manage Volume Automation tutorial.
Syntax
[Visual Basic] control.VolumeAutomation.PointEnable ( nPlayer as Integer, strVolumePointName as String, bEnable as enumBoolean ) as enumErrorCodes |
[C++] short control.VolumeAutomation.PointEnable ( short nPlayer, LPCTSTR strVolumePointName, short bEnable ); |
Parameter |
Description |
|||||||||
|
|
|||||||||
nPlayer |
Number representing the zero-based index of the involved player |
|||||||||
strVolumePointName |
String representing the friendly name of the volume point to enable/disable: this name must be identical to the corresponding one used for adding the volume point through the VolumeAutomation.PointAdd method.. |
|||||||||
bEnable |
Boolean value that specifies if the volume point must be enabled or disabled. Supported values are the following:
|
Return value
Value |
Meaning |
|
|
enumErrorCodes.NOERROR (0) |
The method call was successful |
Negative value |
An error occurred: see the LastError property for further error details or for a list of the possible error values. |