AxHost.GetFontFromIFont(Object) Método

Definição

Retorna um Font criado do objeto IFont OLE especificado.

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

Font

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

Aplica-se a

Confira também