AxHost.GetFontFromIFont(Object) メソッド

定義

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

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

パラメーター

font
Object

Font の作成元の IFont。

戻り値

Font

指定した IFont から作成された Font。フォントを作成できなかった場合は DefaultFontfontnull の場合は null

適用対象

こちらもご覧ください