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