Copyright © 2006-2019 MultiMedia Soft

Spectrum.SetBackPictureFromHandle method

Previous pageReturn to chapter overviewNext page

Remarks

 

Sets a background picture from an existing bitmap handle.

 

For further details about using the embedded Spectrum refer to the Spectrum class section.

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

 

 

Syntax

 

[Visual Basic]

Public Function SetBackPictureFromHandle (

hBitmap as IntPtr

) as enumErrorCodes


 

[C#]

public enumErrorCodes SetBackPictureFromHandle (

IntPtr hBitmap

);


 

[C++]

public: enumErrorCodes SetBackPictureFromHandle (

IntPtr hBitmap

);


 

 

Parameter

Description

 

 

hBitmap

Handle (HBITMAP) 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.ERR_NOERROR (0)

The method call was successful.