AxHost.GetFontFromIFontDisp(Object) Metodo

Definizione

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

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

Parametri

font
Object

IFontDisp da cui creare un Font.

Restituisce

Font

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

Si applica a

Vedi anche