Langue

AxHost.GetIFontDispFromFont(Font) Méthode

Définition

Retourne un objet OLE IFontDisp créé à partir de l’objet spécifié Font .

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

Paramètres

font
Font

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

Retours

Objet IFontDisp créé à partir de la police spécifiée ou null le cas font échéant null.

Exceptions

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

S’applique à

Voir aussi