AxHost.GetIFontFromFont(Font) Método

Definição

Retorna um objeto IFont OLE criado do objeto Font especificado.

protected:
 static System::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 da qual criar um objeto IFont.

Retornos

Object

O objeto IFont criado da fonte especificada ou null se font for null ou o IFont não puder ser criado.

Exceções

O valor da propriedade Unit não é Point.

Aplica-se a

Confira também