AxHost.GetIFontFromFont(Font) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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
Paramètres
- font
- Font
Police utilisée pour créer un objet IFont.
Retours
Objet IFont créé à partir de la police spécifiée, ou null
si font
est null
ou que l’IFont n’a pas pu être créé.