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 必须采用具有预乘 alpha 值的 BGRA 像素格式。

适用于