AxHost.GetFontFromIFont(Object) Método

Definición

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

protected:
 static System::Drawing::Font ^ GetFontFromIFont(System::Object ^ font);
protected static System.Drawing.Font GetFontFromIFont(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 que se va a crear un Font objeto .

Devoluciones

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

Se aplica a

Consulte también