AxHost.GetIFontDispFromFont(Font) Método

Definición

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

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

Parámetros

font
Font

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

Devoluciones

Object

Objeto IFontDisp creado a partir de la fuente especificada, o null si font es null.

Excepciones

El valor de propiedad Unit no es Point.

Se aplica a

Consulte también