System.Windows.Forms.AxHost.GetIFontFromFont Method

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

Syntax

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

Parameters

font
The font to create an IFont object from.

Returns

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

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