AxHost::GetIFontFromFont Method (Font^)
.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.Drawing::Font^
The font to create an IFont object from.
Return Value
Type: System::Object^The IFont object created from the specified font, or null if font is null or the IFont could not be created.
| Exception | Condition |
|---|---|
| ArgumentException |
.NET Framework
Available since 1.1
Available since 1.1
Show: