AxHost.GetIFontFromFont(Font) Yöntem

Tanım

Belirtilen Font nesneden oluşturulan bir OLE IFont nesnesi döndürür.

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

Parametreler

font
Font

IFont nesnesinin oluşturulacağı yazı tipi.

Döndürülenler

Object

Belirtilen yazı tipinden oluşturulan IFont nesnesi veya null ise font null veya IFont oluşturulamadı.

Özel durumlar

Özellik Unit değeri değildir Point.

Şunlara uygulanır

Ayrıca bkz.