AxHost.GetFontFromIFontDisp(Object) Méthode

Définition

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

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

Paramètres

font
Object

IFontDisp utilisé pour créer un Font.

Retours

Font

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

S’applique à

Voir aussi