IBitmapFrameWithSoftwareBitmap 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
公开用于获取 BitmapFrame 的 SoftwareBitmap 表示形式的方法。
public interface class IBitmapFrameWithSoftwareBitmap : IBitmapFrame
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(4264066202, 16908, 18787, 135, 173, 105, 20, 54, 224, 131, 131)]
struct IBitmapFrameWithSoftwareBitmap : IBitmapFrame
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(4264066202, 16908, 18787, 135, 173, 105, 20, 54, 224, 131, 131)]
public interface IBitmapFrameWithSoftwareBitmap : IBitmapFrame
Public Interface IBitmapFrameWithSoftwareBitmap
Implements IBitmapFrame
- 派生
- 属性
- 实现
Windows 要求
| 设备系列 |
Windows 10 (在 10.0.10240.0 中引入)
|
| API contract |
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)
|
属性
| BitmapAlphaMode |
返回帧的默认 alpha 模式。 (继承自 IBitmapFrame) |
| BitmapPixelFormat |
返回帧的默认像素格式。 (继承自 IBitmapFrame) |
| BitmapProperties |
返回帧内元数据的只读视图。 (继承自 IBitmapFrame) |
| DpiX |
返回帧的水平分辨率(以每英寸点为单位)。 (继承自 IBitmapFrame) |
| DpiY |
返回帧的垂直分辨率(以每英寸点为单位)。 (继承自 IBitmapFrame) |
| OrientedPixelHeight |
在将任何 EXIF 方向应用于位图后,返回帧的高度(以像素为单位)。 (继承自 IBitmapFrame) |
| OrientedPixelWidth |
在将任何 EXIF 方向应用于位图后,返回帧的宽度(以像素为单位)。 (继承自 IBitmapFrame) |
| PixelHeight |
以像素为单位返回帧的高度。 (继承自 IBitmapFrame) |
| PixelWidth |
返回帧的宽度(以像素为单位)。 (继承自 IBitmapFrame) |
方法
| GetPixelDataAsync() |
异步请求帧的像素数据。 生成的像素数据数组将使用 BitmapPixelFormat 和 BitmapAlphaMode 属性中指定的位图 像素格式和 alpha 模式。 它还将应用颜色管理和 EXIF 方向 (有关详细信息,请参阅备注部分) 。 (继承自 IBitmapFrame) |
| GetPixelDataAsync(BitmapPixelFormat, BitmapAlphaMode, BitmapTransform, ExifOrientationMode, ColorManagementMode) |
使用指定的参数异步请求帧的像素数据。 (继承自 IBitmapFrame) |
| GetSoftwareBitmapAsync() |
异步检索 BitmapFrame 的 SoftwareBitmap 表示形式。 |
| GetSoftwareBitmapAsync(BitmapPixelFormat, BitmapAlphaMode, BitmapTransform, ExifOrientationMode, ColorManagementMode) |
异步检索 BitmapFrame 的 SoftwareBitmap 表示形式。 |
| GetSoftwareBitmapAsync(BitmapPixelFormat, BitmapAlphaMode) |
异步检索 BitmapFrame 的 SoftwareBitmap 表示形式。 |
| GetThumbnailAsync() |
异步检索帧的缩略图数据。 (继承自 IBitmapFrame) |