1 reference to MeasureText
System.Windows.Forms.Tests (1)
System\Windows\Forms\TextRendererTests.cs (1)
526
Assert.Equal(Size.Empty, TextRenderer.
MeasureText
(text.AsSpan(), SystemFonts.MenuFont, new Size(300, 400)));