AxHost.GetFontFromIFont(Object) Methode

Definitie

Retourneert een Font gemaakt van het opgegeven OLE IFont-object .

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

Parameters

font
Object

De IFont om een Font van te maken.

Retouren

De Font gemaakt op basis van de opgegeven IFont, DefaultFont als het lettertype niet kan worden gemaakt of null als font het is null.

Van toepassing op

Zie ook