VolumeAutomation.CurveDesigner.GetDisplayCurveType method |
![]() ![]() ![]() |
Remarks
Obtains the current type of predefined curve on the designer window. The type of predefined curve on the designer window can be modified through the VolumeAutomation.CurveDesigner.SetDisplayCurveType 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] control.VolumeAutomation.CurveDesigner.GettDisplayCurveType ( nDesignerUniqueId as Long, nCurveType as enumVolumeCurves, bPointsModified as enumBoolean ) as enumErrorCodes |
[C++] short control.VolumeAutomation.CurveDesigner.GetDisplayCurveType ( long nDesignerUniqueId, short *nCurveType, short *bPointsModified ); |
Parameter |
Description |
||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
nDesignerUniqueId |
Unique identifier of the curve designer returned by a previous call to the VolumeAutomation.CurveDesigner.Create method |
||||||||||||||||||||||||
nCurveType |
Reference that, on return from the method call, will contain the type of displayed curve. Supported values are the following:
|
||||||||||||||||||||||||
bPointsModified |
Reference that, on return from the method call, will contain the boolean value that tells if control points for Bézier curve where modified by the user. Supported values are the following:
|
Return value
Value |
Meaning |
|
|
Negative value |
An error occurred, check the LastError property value in order to get the error code |
enumErrorCodes.ERR_NOERROR (0) |
The method call was successful |