Linguaggio

AxHost.GetFontFromIFontDisp(Object) Metodo

Definizione

Restituisce un Font oggetto creato dall'oggetto OLE IFontDisp specificato.

protected:
 static System::Drawing::Font ^ GetFontFromIFontDisp(System::Object ^ font);
protected static System.Drawing.Font GetFontFromIFontDisp(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

Parametri

font
Object

IFontDisp da cui creare un oggetto Font .

Valori restituiti

Oggetto Font creato dall'oggetto IFontDisp specificato, DefaultFont se non è stato possibile creare il tipo di carattere o null se font è null.

Si applica a

Vedi anche