LampArrayBitmapRequestedEventArgs.UpdateBitmap(SoftwareBitmap) Method

Definition

Sets previously specified lamp/s indexes according to the caller defined image.

public:
 virtual void UpdateBitmap(SoftwareBitmap ^ bitmap) = UpdateBitmap;
void UpdateBitmap(SoftwareBitmap const& bitmap);
public void UpdateBitmap(SoftwareBitmap bitmap);
function updateBitmap(bitmap)
Public Sub UpdateBitmap (bitmap As SoftwareBitmap)

Parameters

bitmap
SoftwareBitmap

The image form which to update the lamp/s. If null, all lamps are to set off/Black

Examples

LampArray sample

Demonstrates how to control RGB lighting of peripheral devices using the Windows.Devices.Lights and Windows.Devices.Lights.Effects APIs.

AutoRGB Sample

Demonstrates how to extract a single, representative color from a desktop screen and use it to illuminate LED lamps on a connected RGB device.

Remarks

Images supplied that are not of the SuggestedBitmapSize will incur a small performance penalty when resizing internally.

Applies to

See also