LampArrayBitmapRequestedEventArgs.UpdateBitmap(SoftwareBitmap) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Demonstrates how to control RGB lighting of peripheral devices using the Windows.Devices.Lights and Windows.Devices.Lights.Effects APIs.
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.