AxHost.GetIFontDispFromFont(Font) Método

Definición

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

protected:
 static System::Object ^ GetIFontDispFromFont(System::Drawing::Font ^ font);
protected static 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

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

Devoluciones

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

Excepciones

El Unit valor de la propiedad no Pointes .

Se aplica a

Consulte también