Sprache

AxHost.GetIFontDispFromFont(Font) Methode

Definition

Gibt ein OLE IFontDisp -Objekt zurück, das aus dem angegebenen Font Objekt erstellt wurde.

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

Parameter

font
Font

Die Schriftart zum Erstellen eines IFontDisp-Objekts aus.

Gibt zurück

Das aus der angegebenen Schriftart erstellte IFontDisp-Objekt oder null falls font vorhanden.null

Ausnahmen

Der Unit Eigenschaftswert ist nicht Point.

Gilt für:

Siehe auch