CapturedFrame.BitmapProperties Property
Definition
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.
Gets an object containing bitmap properties for the CapturedFrame. These properties convey image metadata such as EXIF data.
public:
property BitmapPropertySet ^ BitmapProperties { BitmapPropertySet ^ get(); };
BitmapPropertySet BitmapProperties();
public BitmapPropertySet BitmapProperties { get; }
var bitmapPropertySet = capturedFrame.bitmapProperties;
Public ReadOnly Property BitmapProperties As BitmapPropertySet
Property Value
An object containing bitmap properties for the CapturedFrame.
Windows requirements
Device family |
Windows 10, version 1803 (introduced in 10.0.17134.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v6.0)
|
Remarks
This property is useful for apps that want to capture frames in an uncompressed format. When capturing to a compressed format, the bitmap properties such as EXIF data are automatically encoded into the image file. When capturing to a raw format, you can get the bitmap properties using this API and then, for example, set the BitmapProperties property of a BitmapEncoder to include the associated metadata in the encoded file.
For more information on encoding bitmaps, see Create, edit, and save bitmap images.