Copyright © 2001-2019 MultiMedia Soft

Waveform.SetBackPictureFromFile method

Previous pageReturn to chapter overviewNext page

Remarks

 

Sets a background picture from a graphic file.

 

For further details about using the embedded Waveform refer to the Waveform object section.

For details about using Visual Feedbacks refer to the How to use embedded Visual Feedbacks section.

 

 

Syntax

 

[Visual Basic]

control.Waveform.SetBackPictureFromFile (

nPlayer as Integer,

strPathname as String

) as enumErrorCodes


 

[C++]

short control.Waveform.SetBackPictureFromFile (

short nPlayer,

LPCTSTR strPathname

);


 

 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the player that will use the Waveform

strPathname

Absolute pathname of the picture file to load. Accepted graphic formats are BMP, JPEG, GIF, TIFF and PNG.

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