LampArrayBitmapEffect.SuggestedBitmapSize Property

Definition

Gets the most suitable image size for the caller selected lamp indexes that results in minimal scaling/distortion.

public:
 property Size SuggestedBitmapSize { Size get(); };
Size SuggestedBitmapSize();
public Size SuggestedBitmapSize { get; }
var size = lampArrayBitmapEffect.suggestedBitmapSize;
Public ReadOnly Property SuggestedBitmapSize As Size

Property Value

The image size.

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 to UpdateBitmap that are not of the suggested size will incur a small performance penalty when resizing internally.

It is possible for this size to change between releases, as the algorithm is refined; even for the same LampArray.

Callers must NOT take a dependency that a certain size is returned for a particular LampArray.

Applies to

See also