Copyright © 2001-2018 MultiMedia Soft

VolumeAutomation.CurveDesigner.SetBackPictureFromFile method

Previous pageReturn to chapter overviewNext page

Remarks

 

Sets a background picture from a picture file in BMP format.

 

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.SetBackPictureFromFile (

nDesignerUniqueId as Long,

strPathname as String

) as enumErrorCodes


 

[C++]

short control.VolumeAutomation.CurveDesigner.SetBackPictureFromFile (

long nDesignerUniqueId,

LPCTSTR strPathname

);


 

 

 

Parameter

Description

 

 

nDesignerUniqueId

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

strPathname

Absolute pathname of the BMP file to load. An empty pathname will reset an eventual picture set through a previous call to this method.

 

 

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