AxHost.GetFontFromIFontDisp(Object) Método

Definición

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

protected:
 static System::Drawing::Font ^ GetFontFromIFontDisp(System::Object ^ font);
protected static System.Drawing.Font GetFontFromIFontDisp (object font);
static member GetFontFromIFontDisp : obj -> System.Drawing.Font
Protected Shared Function GetFontFromIFontDisp (font As Object) As Font

Parámetros

font
Object

IFontDisp a partir del cual crear una Font.

Devoluciones

Font

Objeto Font creado a partir del IFontDisp especificado, DefaultFont si no se pudo crear la fuente, o null si font es null.

Se aplica a

Consulte también