Copyright © 2008-2015 MultiMedia Soft

Effects.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 further details about defining a volume automation procedure refer to the How to define a volume automation procedure section.

 

 

Syntax

 

[Visual Basic]

Public Function DisplayCurveType (

nDesignerUniqueId as Int32,

nCurveType as enumVolumeCurves

) as enumErrorCodes


 

[C#]

public enumErrorCodes DisplayCurveType (

Int32 nDesignerUniqueId,

enumVolumeCurves nCurveType

);


 

[C++]

public: enumErrorCodes DisplayCurveType (

Int32 nDesignerUniqueId,

enumVolumeCurves nCurveType

);


 

 

Parameter

Description

 

 

nDesignerUniqueId

Unique identifier of the curve designer returned by a previous call to the Effects.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: volume will be changed immediately and will be kept till next volume point.

VOLUME_CURVE_LINEAR

1

Linear curve

VOLUME_CURVE_EXPONENTIAL

2

Exponential curve

VOLUME_CURVE_COSINE

3

Cosine curve

VOLUME_CURVE_SMOOTH

4

Smooth curve

VOLUME_CURVE_CUSTOM

5

Custom Bézier curve.

 

 

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.