VolumeAutomation.CurveDesigner.Create method |
|
Remarks
Creates a new instance of the VolumeAutomation.CurveDesigner object on the given parent 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] Public Function Create ( hWndParent as IntPtr, nLeft as Int32, nTop as Int32, nWidth as Int32, nHeight as Int32, colorParentBackColor as Color ) as Int32 |
[C#] public Int32 Create ( IntPtr hWndParent, Int32 nLeft, Int32 nTop, Int32 nWidth, Int32 nHeight, Color colorParentBackColor ); |
[C++] public: Int32 Create ( IntPtr hWndParent, Int32 nLeft, Int32 nTop, Int32 nWidth, Int32 nHeight, Color colorParentBackColor ); |
Parameter |
Description |
|
|
hWndParent |
Handle of the parent window, usually the container form. |
nLeft |
Left position of the window, expressed in client coordinates (pixels) of hWndParent |
nTop |
Top position of the window, expressed in client coordinates (pixels) of hWndParent |
nWidth |
Width of the window, expressed in pixels |
nHeight |
Height of the window, expressed in pixels |
colorParentBackColor |
Background color of the parent window |
Return value
Value |
Meaning |
|
|
0 |
An error occurred, check the LastError property value in order to get the error code |
Other values |
Unique identifier of the new curve designer |