LampArrayBitmapEffect.SuggestedBitmapSize Property
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.
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
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 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.