Copyright © 2001-2019 MultiMedia Soft

VolumeAutomation.CurveDesigner.SetPoints method

Previous pageReturn to chapter overviewNext page

Remarks

 

Modifies positions of Bézier curve control points (right and left) inside the curve designer. Control points positions can be obtained VolumeAutomation.CurveDesigner.GetPoints 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.SetPoints (

nDesignerUniqueId as Long,

nLeftX as Integer,

nLeftY as Integer,

nRightX as Integer,

nRightY as Integer

) as enumErrorCodes


 

[C++]

short control.VolumeAutomation.CurveDesigner.SetPoints (

long nDesignerUniqueId,

short nLeftX,

short nLeftY,

short nRightX,

short nRightY

);


 

 

 

Parameter

Description

 

 

nDesignerUniqueId

Unique identifier of the curve designer returned by a previous call to the VolumeAutomation.CurveDesigner.Create method

nLeftX

The horizontal position, expressed in percentage of the designer's area, of the left control point

nLeftY

The vertical position, expressed in percentage of the designer's area, of the left control point

nRightX

The horizontal position, expressed in percentage  of the designer's area, of the right control point

nRightY

The vertical position, expressed in percentage of the designer's area, of the right control point

 

 

Return value

 

Value

Meaning

 

 

enumErrorCodes.NOERROR (0)

The call was successful.

Negative value

An error occurred: see the LastError property for further error details or for a list of the possible error values.