Idioma

AxHost.GetIFontFromFont(Font) Método

Definição

Devolve um objeto OLE IFont criado a partir do objeto especificado Font .

protected:
 static System::Object ^ GetIFontFromFont(System::Drawing::Font ^ font);
protected static object GetIFontFromFont(System.Drawing.Font font);
protected static object? GetIFontFromFont(System.Drawing.Font? font);
static member GetIFontFromFont : System.Drawing.Font -> obj
Protected Shared Function GetIFontFromFont (font As Font) As Object

Parâmetros

font
Font

A fonte para criar um objeto IFont.

Devoluções

O objeto IFont criado a partir da fonte especificada, ou null if font is null ou IFont não pôde ser criado.

Exceções

O valor da Unit propriedade não Pointé .

Aplica-se a

Consulte também