SoftwareBitmapSource.SetBitmapAsync(SoftwareBitmap) SoftwareBitmapSource.SetBitmapAsync(SoftwareBitmap) SoftwareBitmapSource.SetBitmapAsync(SoftwareBitmap) SoftwareBitmapSource.SetBitmapAsync(SoftwareBitmap) Method

Definition

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

public : IAsyncAction SetBitmapAsync(SoftwareBitmap softwareBitmap)
IAsyncAction SetBitmapAsync(SoftwareBitmap softwareBitmap) const;
public IAsyncAction SetBitmapAsync(SoftwareBitmap softwareBitmap)
Public Function SetBitmapAsync(softwareBitmap As SoftwareBitmap) As IAsyncAction

Parameters

softwareBitmap
SoftwareBitmap SoftwareBitmap

The SoftwareBitmap to be used as an image source.

Returns

An asynchronous action.

Remarks

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