ImageEncodingProperties.Subtype 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 or sets the subtype of the format.
public:
property Platform::String ^ Subtype { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring Subtype();
void Subtype(winrt::hstring value);
public string Subtype { get; set; }
var string = imageEncodingProperties.subtype;
imageEncodingProperties.subtype = string;
Public Property Subtype As String
Property Value
The subtype.
Implements
Remarks
The value can be the string representation of a GUID in canonical form, or one of the predefined values listed in the following table.
Value | Description |
---|---|
"BMP" | Bitmap image. |
"ICO" | ICO image. |
"GIF" | GIF image. |
"JPEG" | JPEG image. |
"PNG" | PNG image. |
"TIFF" | TIFF image. |
"WMP" | JPEG-XR or HD Photo image. |
Warning
The string values returned by the MediaEncodingSubtypes properties may not use the same letter casing as AudioEncodingProperties.Subtype, VideoEncodingProperties.Subtype, ContainerEncodingProperties.Subtype, and ImageEncodingProperties.Subtype. For this reason, if you compare the values, you should use a case-insensitive comparison or use hardcoded strings that match the casing returned by the encoding properties.