Langue

AxHost.GetIFontFromFont(Font) Méthode

Définition

Retourne un objet OLE IFont créé à partir de l’objet spécifié 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

Paramètres

font
Font

Police à partir de qui créer un objet IFont.

Retours

Objet IFont créé à partir de la police spécifiée, ou null s’il font est null ou si iFont n’a pas pu être créé.

Exceptions

La Unit valeur de propriété n’est pas Point.

S’applique à

Voir aussi