AxHost.GetFontFromIFont(Object) Méthode

Définition

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

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

Paramètres

font
Object

IFont utilisé pour créer un Font.

Retours

Font

Font créée à partir de l’IFont spécifié, DefaultFont si la police n’a pas pu être créée ou null si font est null.

S’applique à

Voir aussi