4 references to ToLogFont
System.Drawing.Common.Tests (4)
System\Drawing\FontTests.cs (4)
741font.ToLogFont(logFont, graphics); 767Assert.Throws<ArgumentNullException>(() => font.ToLogFont(null, graphics)); 775AssertExtensions.Throws<ArgumentNullException>("graphics", () => font.ToLogFont(new LOGFONT(), null)); 787Assert.Throws<ArgumentException>(() => font.ToLogFont(new LOGFONT(), graphics));