AxHost.GetIFontDispFromFont(Font) Metodo

Definizione

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

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

Parametri

font
Font

Tipo di carattere da cui creare un oggetto IFontDisp.

Valori restituiti

Oggetto IFontDisp creato dal tipo di carattere specificato o null se font è null.

Eccezioni

Il valore della Unit proprietà non Pointè .

Si applica a

Vedi anche