2 references to MeasureText
System.Windows.Forms (1)
System\Windows\Forms\Rendering\TextRenderer.cs (1)
397/// <see cref="MeasureText(IDeviceContext, ReadOnlySpan{char}, Font?)"/> that take a Size and
System.Windows.Forms.Tests (1)
System\Windows\Forms\TextRendererTests.cs (1)
528Assert.Equal(Size.Empty, TextRenderer.MeasureText(graphics, text.AsSpan(), SystemFonts.MenuFont));