Idioma

AxHost.GetFontFromIFontDisp(Object) Método

Definição

Retorna um Font criado do objeto OLE IFontDisp especificado.

protected:
 static System::Drawing::Font ^ GetFontFromIFontDisp(System::Object ^ font);
protected static System.Drawing.Font GetFontFromIFontDisp(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

O IFontDisp do qual criar um Font .

Retornos

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

Aplica-se a

Confira também