System.Windows.Forms.AxHost.GetFontFromIFont Method

Returns a System.Drawing.Font created from the specified OLE tp://go.microsoft.com/fwlink/?LinkId=166075 object.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
protected static System.Drawing.Font GetFontFromIFont (object font)

Parameters

font
The IFont to create a System.Drawing.Font from.

Returns

The System.Drawing.Font created from the specified tp://go.microsoft.com/fwlink/?LinkId=166075, Control.DefaultFont if the font could not be created, or null if font is null.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0