Udostępnij za pośrednictwem


IBitmapFrameWithSoftwareBitmap Interface

Definition

Exposes methods for obtaining a SoftwareBitmap representation of an BitmapFrame.

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
Derived
Attributes
Implements

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Properties

BitmapAlphaMode

Returns the default alpha mode of the frame.

(Inherited from IBitmapFrame)
BitmapPixelFormat

Returns the default pixel format of the frame.

(Inherited from IBitmapFrame)
BitmapProperties

Returns a read-only view of the metadata within the frame.

(Inherited from IBitmapFrame)
DpiX

Returns the horizontal resolution of the frame in dots per inch.

(Inherited from IBitmapFrame)
DpiY

Returns the vertical resolution of the frame in dots per inch.

(Inherited from IBitmapFrame)
OrientedPixelHeight

Returns the height of the frame in pixels, after any EXIF orientation has been applied to the bitmap.

(Inherited from IBitmapFrame)
OrientedPixelWidth

Returns the width of the frame in pixels, after any EXIF orientation has been applied to the bitmap.

(Inherited from IBitmapFrame)
PixelHeight

Returns the height of the frame in pixels.

(Inherited from IBitmapFrame)
PixelWidth

Returns the width of the frame in pixels.

(Inherited from IBitmapFrame)

Methods

GetPixelDataAsync()

Asynchronously requests the pixel data for the frame. The resulting pixel data array will use the bitmap pixel format and alpha mode specified in the BitmapPixelFormat and BitmapAlphaMode properties. It will also have color management and EXIF orientation applied (see the Remarks section for more information).

(Inherited from IBitmapFrame)
GetPixelDataAsync(BitmapPixelFormat, BitmapAlphaMode, BitmapTransform, ExifOrientationMode, ColorManagementMode)

Asynchronously requests the pixel data for the frame using the specified parameters.

(Inherited from IBitmapFrame)
GetSoftwareBitmapAsync()

Asynchronously retrieves a SoftwareBitmap representation of an BitmapFrame.

GetSoftwareBitmapAsync(BitmapPixelFormat, BitmapAlphaMode, BitmapTransform, ExifOrientationMode, ColorManagementMode)

Asynchronously retrieves a SoftwareBitmap representation of an BitmapFrame.

GetSoftwareBitmapAsync(BitmapPixelFormat, BitmapAlphaMode)

Asynchronously retrieves a SoftwareBitmap representation of an BitmapFrame.

GetThumbnailAsync()

Asynchronously retrieves the thumbnail data for the frame.

(Inherited from IBitmapFrame)

Applies to

See also