AxHost.GetIFontFromFont(Font) Metodo

Definizione

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

protected:
 static System::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

Il tipo di carattere dal quale creare un oggetto IFont.

Restituisce

Object

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

Eccezioni

Il valore della proprietà Unit non è Point.

Si applica a

Vedi anche