AxHost.GetFontFromIFontDisp(Object) Methode

Definition

Gibt ein Font Erstelltes aus dem angegebenen OLE IFontDisp -Objekt zurück.

protected:
 static System::Drawing::Font ^ GetFontFromIFontDisp(System::Object ^ font);
protected static System.Drawing.Font GetFontFromIFontDisp(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

Parameter

font
Object

Das IFontDisp zum Erstellen eines Font Von.

Gibt zurück

Die Font erstellung aus dem angegebenen IFontDisp, DefaultFont wenn die Schriftart nicht erstellt werden konnte, oder null wenn font ja null.

Gilt für:

Weitere Informationen