AxHost.GetFontFromIFont(Object) Methode

Definition

Gibt einen aus dem angegebenen OLE-IFont-Objekt erstellten Font zurück.

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

Parameter

font
Object

Das IFont-Objekt, aus dem eine Font erstellt werden soll.

Gibt zurück

Font

Der aus dem angegebenen IFont erstellte Font, DefaultFont, wenn die Schriftart nicht erstellt werden konnte, oder null, wenn font gleich null ist.

Gilt für

Siehe auch