SoftwareBitmapSource.SetBitmapAsync(SoftwareBitmap) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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);
C#
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction SetBitmapAsync(SoftwareBitmap softwareBitmap);
function setBitmapAsync(softwareBitmap)
Public Function SetBitmapAsync (softwareBitmap As SoftwareBitmap) As IAsyncAction
- softwareBitmap
- SoftwareBitmap
The SoftwareBitmap to be used as an image source.
An asynchronous action.
- Attributes
The SoftwareBitmap must be in BGRA pixel format with pre-multiplied alpha values.
Продукт | Версии |
---|---|
Windows App SDK | 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6 |