Effects.CurveDesigner.Create method |
|
Remarks
Creates a new instance of the Effects.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 further details about defining a volume automation procedure refer to the How to define a volume automation procedure section.
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 (see the LastError property for further error details) |
Other values |
Unique identifier of the new curve designer |