Effects.VolumeAutomationSetScales metjod |
|
Remarks
Sets scale units that will be used when adding/modifying a volume point.
For further details about defining a volume automation procedure refer to the How to define a volume automation procedure section.
For further details about methods related to the use of special effects refer to the EffectsMan class.
Syntax
[Visual Basic] Public Function VolumeAutomationSetScales ( nPositionUnit as enumVolumeAutomationPosUnits, nScaleType as enumVolumeScales ) as enumErrorCodes |
[C#] public enumErrorCodes VolumeAutomationSetScales ( enumVolumeAutomationPosUnits nPositionUnit, enumVolumeScales nScaleType ); |
[C++] public: enumErrorCodes VolumeAutomationSetScales ( enumVolumeAutomationPosUnits nPositionUnit, enumVolumeScales nScaleType ); |
Parameter |
Description |
||||||||||||
|
|
||||||||||||
nPositionUnit |
The unit used to define positions of volume points in Volume Automation procedures. Supported values are the following:
|
||||||||||||
nScaleType |
The volume scaling type. Supported values are the following:
|
Return value
Value |
Meaning |
|
|
Negative value |
An error occurred (see the LastError property for further error details) |
enumErrorCodes.ERR_NOERROR (0) |
The method call was successful. |