AxHost.GetFontFromIFont(Object) Methode

Definition

Gibt eine Font Erstellte aus dem angegebenen OLE IFont -Objekt zurück.

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

Parameter

font
Object

Das IFont zum Erstellen eines Font Von.

Gibt zurück

Das Font erstellt aus dem angegebenen IFont, DefaultFont wenn die Schriftart nicht erstellt werden konnte, oder null wenn font ja null.

Gilt für:

Weitere Informationen