3 references to MeasureText
System.Windows.Forms.Tests (3)
System\Windows\Forms\TextRendererTests.cs (3)
428
Size result = TextRenderer.
MeasureText
(text, font, proposedSize);
433
Assert.Equal(result, TextRenderer.
MeasureText
(text, font, proposedSize));
520
Assert.Equal(Size.Empty, TextRenderer.
MeasureText
(text, SystemFonts.MenuFont, new Size(300, 400)));