Idioma

AxHost.GetFontFromIFont(Object) Método

Definição

Retorna um Font criado a partir do objeto OLE IFont 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

O IFont para criar um Font a partir de.

Devoluções

O Font foi criado a partir do IFont especificado, DefaultFont se a fonte não pôde ser criada, ou null se font for null.

Aplica-se a

Consulte também