VolumeAutomation.CurveDesigner.SetBackPictureFromHandle method |
|
Remarks
Sets a background picture from an existing bitmap handle (HBITMAP).
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.SetBackPictureFromHandle ( nDesignerUniqueId as Long, hBitmap as OLE_HANDLE ) as enumErrorCodes |
[C++] short control.VolumeAutomation.CurveDesigner.SetBackPictureFromHandle ( long nDesignerUniqueId, OLE_HANDLE hBitmap ); |
Parameter |
Description |
|
|
nDesignerUniqueId |
Unique identifier of the curve designer returned by a previous call to the VolumeAutomation.CurveDesigner.Create method |
hBitmap |
Handle of the bitmap to apply. If this parameter is set to 0 an eventual picture set through a previous call to this method will be reset. |
Return value
Value |
Meaning |
|
|
Negative value |
An error occurred, check the LastError property value in order to get the error code |
enumErrorCodes.ERR_NOERROR (0) |
The method call was successful |