25 references to IFont
System.Windows.Forms (25)
winforms\Managed\System\WinForms\AxHost.cs (6)
130private static Guid ifont_Guid = typeof(UnsafeNativeMethods.IFont).GUID; 4928return (UnsafeNativeMethods.IFont)UnsafeNativeMethods.OleCreateIFontIndirect(GetFONTDESCFromFont(font), ref ifont_Guid); 4945UnsafeNativeMethods.IFont oleFont = (UnsafeNativeMethods.IFont)font; 4987UnsafeNativeMethods.IFont ifont = font as UnsafeNativeMethods.IFont;
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2FontConverter.cs (4)
53UnsafeNativeMethods.IFont nativeFont = nativeValue as UnsafeNativeMethods.IFont; 114UnsafeNativeMethods.IFont nativeFont = (UnsafeNativeMethods.IFont)pd.GetNativeValue(pd.TargetObject);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (1)
159oleConverters[typeof(UnsafeNativeMethods.IFont).GUID] = typeof(Com2FontConverter);
winforms\Managed\System\WinForms\Control.cs (8)
16377UnsafeNativeMethods.IFont ifont = (UnsafeNativeMethods.IFont)obj; 17634UnsafeNativeMethods.IFont ifont = (UnsafeNativeMethods.IFont)objfont; 18969Guid iid = typeof(UnsafeNativeMethods.IFont).GUID; 18971UnsafeNativeMethods.IFont oleFont = UnsafeNativeMethods.OleCreateFontIndirect(fontDesc, ref iid); 18987UnsafeNativeMethods.IFont nativeFont = (UnsafeNativeMethods.IFont)Marshal.GetObjectForIUnknown(pObj);
winforms\Managed\System\WinForms\ControlPaint.cs (1)
2035internal static bool FontToIFont(Font source, UnsafeNativeMethods.IFont target) {
winforms\Managed\System\WinForms\UnsafeNativeMethods.cs (4)
346public static extern UnsafeNativeMethods.IFont OleCreateIFontIndirect(NativeMethods.FONTDESC fd, ref Guid iid); 359public static extern UnsafeNativeMethods.IFont OleCreateFontIndirect(NativeMethods.tagFONTDESC fontdesc, [In]ref Guid refiid); 8008out UnsafeNativeMethods.IFont ppfont); 8013UnsafeNativeMethods.IFont pfontOther);
winforms\Managed\System\WinForms\WebBrowserHelper.cs (1)
90private static Guid ifont_Guid = typeof(UnsafeNativeMethods.IFont).GUID;