AxHost.GetIFontDispFromFont(Font) メソッド

定義

指定した Font オブジェクトから作成された OLE IFontDisp オブジェクトを返します。

protected:
 static System::Object ^ GetIFontDispFromFont(System::Drawing::Font ^ font);
protected static object GetIFontDispFromFont (System.Drawing.Font font);
protected static object? GetIFontDispFromFont (System.Drawing.Font? font);
static member GetIFontDispFromFont : System.Drawing.Font -> obj
Protected Shared Function GetIFontDispFromFont (font As Font) As Object

パラメーター

font
Font

IFontDisp オブジェクトの作成元となるフォント。

戻り値

指定したフォントから作成された IFontDisp オブジェクト。fontnull の場合は null

例外

Unit プロパティ値が Point ではない。

適用対象

こちらもご覧ください