Share via


SoftwareBitmapSource.SetBitmapAsync(SoftwareBitmap) 方法

定義

設定要作為影像來源的來源 SoftwareBitmap

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);
function setBitmapAsync(softwareBitmap)
Public Function SetBitmapAsync (softwareBitmap As SoftwareBitmap) As IAsyncAction

參數

softwareBitmap
SoftwareBitmap

要作為影像來源的 SoftwareBitmap

傳回

非同步動作。

屬性

備註

SoftwareBitmap必須採用 BGRA 像素格式,且具有預先乘法的 Alpha 值。

適用於