AxHost.GetIFontFromFont(Font) Metodo

Definizione

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

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

Parametri

font
Font

Tipo di carattere da cui creare un oggetto IFont.

Valori restituiti

Oggetto IFont creato dal tipo di carattere specificato oppure se null è o font non è null stato possibile creare l'oggetto IFont.

Eccezioni

Il valore della Unit proprietà non Pointè .

Si applica a

Vedi anche