VolumeAutomation.CurveDesigner.SetDisplayCurveType method |
![]() ![]() ![]() |
Remarks
Displays a specific type of predefined curve on the designer window. The current type of predefined curve on the designer window can be obtained through the VolumeAutomation.CurveDesigner.GetDisplayCurveType method.
For details about using the Curve Designer refer to the How to create custom volume curves tutorial.
For details about using Volume Automation refer to the How to manage Volume Automation tutorial.
Syntax
[Visual Basic] Public Function SetDisplayCurveType ( nDesignerUniqueId as Int32, nCurveType as enumVolumeCurves ) as enumErrorCodes |
[C#] public enumErrorCodes SetDisplayCurveType ( Int32 nDesignerUniqueId, enumVolumeCurves nCurveType ); |
[C++] public: enumErrorCodes SetDisplayCurveType ( Int32 nDesignerUniqueId, enumVolumeCurves nCurveType ); |
Parameter |
Description |
||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
nDesignerUniqueId |
Unique identifier of the curve designer returned by a previous call to the VolumeAutomation.CurveDesigner.Create method |
||||||||||||||||||||||||
nCurveType |
Type of curve to display. Supported values are the following:
|
Return value
Value |
Meaning |
|
|
Negative value |
An error occurred (see the LastError property for further error details) |
enumErrorCodes.NOERROR (0) |
The method call was successful. |