System.Windows.Forms.AxHost.GetIFontDispFromFont Method

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

Syntax

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

Parameters

font
The font to create an IFontDisp object from.

Returns

The tp://go.microsoft.com/fwlink/?LinkId=166073 object created from the specified font 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