5 references to FromHfont
System.Drawing.Common.Tests (3)
System\Drawing\FontTests.cs (3)
483
AssertExtensions.Throws<ArgumentException>(null, () => Font.
FromHfont
(IntPtr.Zero));
819
Font newFont = Font.
FromHfont
(hfont);
832
Font newFont = Font.
FromHfont
(hfont);
System.Windows.Forms (2)
System\Windows\Forms\ActiveX\AxHost.cs (1)
3742
Font f = Font.
FromHfont
(oleFont.hFont);
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (1)
1379
prop.Value = Font.
FromHfont
(pQaContainer->pFont->hFont);