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