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