SoftwareBitmapSource.SetBitmapAsync(SoftwareBitmap) Method

Definition

Sets the source SoftwareBitmap to be used as an image source.

C#
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction SetBitmapAsync(SoftwareBitmap softwareBitmap);

Parameters

softwareBitmap
SoftwareBitmap

The SoftwareBitmap to be used as an image source.

Returns

An asynchronous action.

Attributes

Remarks

The SoftwareBitmap must be in BGRA pixel format with pre-multiplied alpha values.

Applies to

Продукт Версии
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6