Aracılığıyla paylaş


AxHost.GetFontFromIFontDisp(Object) Yöntem

Tanım

Belirtilen OLE IFontDisp nesnesinden oluşturulan bir Font döndürür.

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

Parametreler

font
Object

Oluşturulacak Font IFontDisp.

Döndürülenler

Font

Belirtilen Font IFontDisp'ten oluşturulan, DefaultFont yazı tipi oluşturulamadıysa veya null ise font null.

Şunlara uygulanır

Ayrıca bkz.