Share via


AxHost.GetFontFromIFontDisp(Object) Método

Definição

Retorna um Font criado do objeto IFontDisp OLE especificado.

protected:
 static System::Drawing::Font ^ GetFontFromIFontDisp(System::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

Font

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

Aplica-se a

Confira também