Remarks
Sets a background picture from a graphic file.
For further details about using the embedded Enhanced Spectrum Analyzer refer to the SpectrumEnh class section.
For details about using the Enhanced Spectrum Analyzer refer to the How to use the Enhanced Spectrum Analyzer tutorial.
For details about using other Visual Feedbacks refer to the How to use the embedded Visual Feedbacks section.
Syntax
[Visual Basic]
Public Function SetBackPictureFromFile (
nPlayerIndex as Int16,
strPathname as String
) as enumErrorCodes
|
|
[C#]
public enumErrorCodes SetBackPictureFromFile (
Int16 nPlayerIndex,
string strPathname
);
|
|
[C++]
public: enumErrorCodes SetBackPictureFromFile (
Int16 nPlayerIndex,
string strPathname
);
|
|
Parameter
|
Description
|
|
|
nPlayerIndex
|
Number representing the zero-based index of the player that will use the spectrum analyzer.
|
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 (see the LastError property for further error details)
|
enumErrorCodes.NOERROR (0)
|
The method call was successful.
|
|