AxHost.GetIFontFromFont(Font) Método

Definición

Devuelve un objeto OLE IFont creado a partir del objeto Font especificado.

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

Parámetros

font
Font

La fuente a partir de la cual crear un objeto IFont.

Devoluciones

Object

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

Excepciones

El valor de propiedad Unit no es Point.

Se aplica a

Consulte también