BitmapFrame.GetSoftwareBitmapAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GetSoftwareBitmapAsync()
异步获取位图帧的 SoftwareBitmap 表示形式。
public:
virtual IAsyncOperation<SoftwareBitmap ^> ^ GetSoftwareBitmapAsync() = GetSoftwareBitmapAsync;
/// [Windows.Foundation.Metadata.Overload("GetSoftwareBitmapAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<SoftwareBitmap> GetSoftwareBitmapAsync();
[Windows.Foundation.Metadata.Overload("GetSoftwareBitmapAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<SoftwareBitmap> GetSoftwareBitmapAsync();
function getSoftwareBitmapAsync()
Public Function GetSoftwareBitmapAsync () As IAsyncOperation(Of SoftwareBitmap)
返回
成功完成时返回 SoftwareBitmap 的异步操作。
实现
- 属性
另请参阅
- GetSoftwareBitmapAsync(BitmapPixelFormat, BitmapAlphaMode)
- GetSoftwareBitmapAsync(BitmapPixelFormat, BitmapAlphaMode, BitmapTransform, ExifOrientationMode, ColorManagementMode)
适用于
GetSoftwareBitmapAsync(BitmapPixelFormat, BitmapAlphaMode)
异步获取位图帧的 SoftwareBitmap 表示形式。
public:
virtual IAsyncOperation<SoftwareBitmap ^> ^ GetSoftwareBitmapAsync(BitmapPixelFormat pixelFormat, BitmapAlphaMode alphaMode) = GetSoftwareBitmapAsync;
/// [Windows.Foundation.Metadata.Overload("GetSoftwareBitmapConvertedAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<SoftwareBitmap> GetSoftwareBitmapAsync(BitmapPixelFormat const& pixelFormat, BitmapAlphaMode const& alphaMode);
[Windows.Foundation.Metadata.Overload("GetSoftwareBitmapConvertedAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<SoftwareBitmap> GetSoftwareBitmapAsync(BitmapPixelFormat pixelFormat, BitmapAlphaMode alphaMode);
function getSoftwareBitmapAsync(pixelFormat, alphaMode)
Public Function GetSoftwareBitmapAsync (pixelFormat As BitmapPixelFormat, alphaMode As BitmapAlphaMode) As IAsyncOperation(Of SoftwareBitmap)
参数
- pixelFormat
- BitmapPixelFormat
软件位图的像素格式。
- alphaMode
- BitmapAlphaMode
软件位图的 alpha 模式。
返回
成功完成时返回 SoftwareBitmap 的异步操作。
实现
- 属性
另请参阅
- GetSoftwareBitmapAsync()
- GetSoftwareBitmapAsync(BitmapPixelFormat, BitmapAlphaMode, BitmapTransform, ExifOrientationMode, ColorManagementMode)
适用于
GetSoftwareBitmapAsync(BitmapPixelFormat, BitmapAlphaMode, BitmapTransform, ExifOrientationMode, ColorManagementMode)
异步获取位图帧的 SoftwareBitmap 表示形式。
public:
virtual IAsyncOperation<SoftwareBitmap ^> ^ GetSoftwareBitmapAsync(BitmapPixelFormat pixelFormat, BitmapAlphaMode alphaMode, BitmapTransform ^ transform, ExifOrientationMode exifOrientationMode, ColorManagementMode colorManagementMode) = GetSoftwareBitmapAsync;
/// [Windows.Foundation.Metadata.Overload("GetSoftwareBitmapTransformedAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<SoftwareBitmap> GetSoftwareBitmapAsync(BitmapPixelFormat const& pixelFormat, BitmapAlphaMode const& alphaMode, BitmapTransform const& transform, ExifOrientationMode const& exifOrientationMode, ColorManagementMode const& colorManagementMode);
[Windows.Foundation.Metadata.Overload("GetSoftwareBitmapTransformedAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<SoftwareBitmap> GetSoftwareBitmapAsync(BitmapPixelFormat pixelFormat, BitmapAlphaMode alphaMode, BitmapTransform transform, ExifOrientationMode exifOrientationMode, ColorManagementMode colorManagementMode);
function getSoftwareBitmapAsync(pixelFormat, alphaMode, transform, exifOrientationMode, colorManagementMode)
Public Function GetSoftwareBitmapAsync (pixelFormat As BitmapPixelFormat, alphaMode As BitmapAlphaMode, transform As BitmapTransform, exifOrientationMode As ExifOrientationMode, colorManagementMode As ColorManagementMode) As IAsyncOperation(Of SoftwareBitmap)
参数
- pixelFormat
- BitmapPixelFormat
软件位图的像素格式。
- alphaMode
- BitmapAlphaMode
软件位图的 alpha 模式。
- transform
- BitmapTransform
软件位图的转换。
- exifOrientationMode
- ExifOrientationMode
软件位图的 EXIF 方向模式。
- colorManagementMode
- ColorManagementMode
软件位图的颜色管理模式。
返回
成功完成时返回 SoftwareBitmap 的异步操作。
实现
- 属性