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