Dela via


BitmapCodecInformation Class

Definition

Provides access to information about a decoder or encoder.

public ref class BitmapCodecInformation sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class BitmapCodecInformation final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class BitmapCodecInformation
Public NotInheritable Class BitmapCodecInformation
Inheritance
Object Platform::Object IInspectable BitmapCodecInformation
Attributes

Windows requirements

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

Properties

CodecId

The unique identifier of the decoder or encoder. Methods like BitmapDecoder.CreateAsync and BitmapEncoder.CreateAsync use the codec identifier to determine which codec to create.

FileExtensions

A collection of all the file extensions supported by the decoder or encoder.

FriendlyName

The friendly name of the decoder or encoder.

MimeTypes

A collection of all the MIME/content types supported by the decoder or encoder. MIME type is synonymous with content type.

Applies to

See also