AxHost.GetIFontFromFont(Font) Método

Definición

Devuelve un objeto IFont OLE creado a partir del objeto especificado 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

Parámetros

font
Font

Fuente a partir de la que se va a crear un objeto IFont.

Devoluciones

El objeto IFont creado a partir de la fuente especificada, o null si es font o null no se pudo crear.

Excepciones

El Unit valor de la propiedad no Pointes .

Se aplica a

Consulte también