net9.0-windows10.0.22621
namespace System.Drawing.Imaging
{
    [TypeConverter(typeof(ImageFormatConverter))]
    public sealed class ImageFormat
    {
        [SupportedOSPlatform("windows10.0.17763.0")]
        public static ImageFormat! Webp { get; }
    }
}
Design Reviews
.NET
7.08.09.0
Information specific to net9.0
Platforms This API is only available when you target a specific platform:
Windows
7.08.010.0.1776310.0.1836210.0.1904110.0.2034810.0.2200010.0.22621
Information specific to net9.0-windows10.0.22621
Assembly

System.Drawing.Common , Version=9.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51

Referencing

Your project needs to set <UseWindowsForms>True</UseWindowsForms>.

Platform Restrictions

The property getter is only supported on the following platforms:

  • Windows >= 10.0.17763
  • Built-in API
  • Package-provided API