ImageFormat
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
namespace System.Drawing.Imaging
{
[TypeConverter(typeof(ImageFormatConverter))]
public sealed class ImageFormat
{
public static ImageFormat Bmp {
get {
throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported);
}
}
public static ImageFormat Emf {
get {
throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported);
}
}
public static ImageFormat Exif {
get {
throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported);
}
}
public static ImageFormat Gif {
get {
throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported);
}
}
public Guid Guid {
get {
throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported);
}
}
public static ImageFormat Icon {
get {
throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported);
}
}
public static ImageFormat Jpeg {
get {
throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported);
}
}
public static ImageFormat MemoryBmp {
get {
throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported);
}
}
public static ImageFormat Png {
get {
throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported);
}
}
public static ImageFormat Tiff {
get {
throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported);
}
}
public static ImageFormat Wmf {
get {
throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported);
}
}
public ImageFormat(Guid guid)
{
throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported);
}
[System.Runtime.CompilerServices.NullableContext(2)]
public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhen(true)] object o)
{
throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported);
}
public override int GetHashCode()
{
throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported);
}
public override string ToString()
{
throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported);
}
}
}