AxHost.GetFontFromIFont(Object) Metodo

Definizione

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

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

Parametri

font
Object

IFont da cui creare un Font.

Restituisce

Font

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

Si applica a

Vedi anche