AxHost::GetFontFromIFontDisp Method (Object^)
.NET Framework (current version)
Namespace:
System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Return to top
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- font
-
Type:
System::Object^
The IFontDisp to create a Font from.
Return Value
Type: System.Drawing::Font^The Font created from the specified IFontDisp, Control::DefaultFont if the font could not be created, or null if font is null.
.NET Framework
Available since 1.1
Available since 1.1
Show: