4 references to GetHeight
System.Drawing.Common.Tests (4)
System\Drawing\FontTests.cs (4)
504Assert.Equal((double)font.GetHeight(graphics.DpiY), font.GetHeight(graphics), 5); 526AssertExtensions.Throws<ArgumentNullException>("graphics", () => font.GetHeight(null)); 538AssertExtensions.Throws<ArgumentException>("graphics", () => font.GetHeight(graphics)); 552AssertExtensions.Throws<ArgumentException>(null, () => font.GetHeight(graphics));