Copyright © 2001-2018 MultiMedia Soft

VolumeAutomation.CurveDesigner.DisplayCurveType method

Previous pageReturn to chapter overviewNext page

Remarks

 

Displays a specific type of predefined curve on the designer window.

 

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.DisplayCurveType (

nDesignerUniqueId as Long,

nCurveType as enumVolumeCurves

) as enumErrorCodes


 

[C++]

short control.VolumeAutomation.CurveDesigner.DisplayCurveType (

long nDesignerUniqueId,

short 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:

Mnemonic constant

Value

Meaning

 

 

 

VOLUME_CURVE_NONE

0

No curve is applied.

amp3dj_i00008f

VOLUME_CURVE_LINEAR

1

Linear curve

amp3dj_i000090

VOLUME_CURVE_EXPONENTIAL

2

Exponential curve

amp3dj_i000091

VOLUME_CURVE_COSINE

3

Cosine curve

amp3dj_i000092

VOLUME_CURVE_SMOOTH

4

Smooth curve

amp3dj_i000093

VOLUME_CURVE_CUSTOM

5

Custom Bézier curve.

amp3dj_i000094

 

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