AxHost.GetFontFromIFont(Object) Método

Definição

Retorna um Font criado 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 do qual criar um Font .

Retornos

O Font 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

Confira também