VolumeCurveDesignerChanged event |
|
Remarks
Occurs when the curve inside a curve designer control is modified by dragging one of the control points through the mouse interaction.
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.
For further details about synchronization through Events see the How to synchronize the container application through events tutorial.
Syntax
[Visual Basic] Public Event VolumeCurveDesignerChanged As VolumeCurveDesignerChangedEventHandler |
[C#] public event VolumeCurveDesignerChangedEventHandler VolumeCurveDesignerChanged; |
[C++] public: __event VolumeCurveDesignerChangedEventHandler* VolumeCurveDesignerChanged; |
Event Data
The event handler receives an argument of type VolumeCurveDesignerChangedEventArgs having the following parameters:
Parameters |
Description |
|
|
nDesignerUniqueId |
Number representing the unique identifier of the curve designer as created by the VolumeAutomation.CurveDesigner.Create method |
nLeftX |
Horizontal position, expressed in percentage, of the left side control point of the Bézier curve |
nLeftY |
Vertical position, expressed in percentage, of the left side control point of the Bézier curve |
nRightX |
Horizontal position, expressed in percentage, of the right side control point of the Bézier curve |
nRightY |
Vertical position, expressed in percentage, of the right side control point of the Bézier curve |