SoftwareBitmapSource.SetBitmapAsync(SoftwareBitmap) Method

Definition

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

public:
 virtual IAsyncAction ^ SetBitmapAsync(SoftwareBitmap ^ softwareBitmap) = SetBitmapAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction SetBitmapAsync(SoftwareBitmap const& softwareBitmap);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction SetBitmapAsync(SoftwareBitmap softwareBitmap);
Public Function SetBitmapAsync (softwareBitmap As SoftwareBitmap) As IAsyncAction

Parameters

softwareBitmap
Windows.Graphics.Imaging.SoftwareBitmap

The SoftwareBitmap to be used as an image source.

Returns

Windows.Foundation.IAsyncAction

An asynchronous action.

Attributes
Windows.Foundation.Metadata.RemoteAsyncAttribute

Remarks

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

Applies to