net9.0
namespace System.Drawing
{
    public sealed class Graphics : MarshalByRefObject, IDeviceContext, IDisposable
    {
        public SizeF MeasureString(ReadOnlySpan<char> text, Font! font, int width, StringFormat? format);
    }
}
.NET 8.09.0
Information specific to net9.0
Assemblies

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

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

Referencing

Your project needs a package reference to System.Drawing.Common.

Package System.Drawing.Common net8.0
Platform Restrictions

This API is only supported on the following platforms:

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

11/04/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙