2 references to MeasureText
System.Windows.Forms (1)
System\Windows\Forms\Controls\UpDown\NumericUpDown.cs (1)
850Size digitSize = TextRenderer.MeasureText(charSpan, Font);
System.Windows.Forms.Tests (1)
System\Windows\Forms\TextRendererTests.cs (1)
525Assert.Equal(Size.Empty, TextRenderer.MeasureText(text.AsSpan(), SystemFonts.MenuFont));