AxHost.GetFontFromIFont(Object) Método

Definición

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

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

Parámetros

font
Object

IFont a partir del cual crear una Font.

Devoluciones

Font

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

Se aplica a

Consulte también