Copyright © 2005-2019 MultiMedia Soft

SpectrumEnh.SetBackPictureFromHandle method

Previous pageReturn to chapter overviewNext page

Remarks

 

Sets a background picture from an existing bitmap handle (HBITMAP).

 

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 SetBackPictureFromHandle (

nPlayerIndex as Int16,

hBitmap as IntPtr

) as enumErrorCodes


 

[C#]

public enumErrorCodes SetBackPictureFromHandle (

Int16 nPlayerIndex,

IntPtr hBitmap

);


 

[C++]

public: enumErrorCodes SetBackPictureFromHandle (

Int16 nPlayerIndex,

IntPtr hBitmap

);


 

 

Parameter

Description

 

 

nPlayerIndex

Number representing the zero-based index of the player that will use the spectrum analyzer.

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 (see the LastError property for further error details)

enumErrorCodes.NOERROR (0)

The method call was successful.