Taal

AxHost.GetFontFromIFontDisp(Object) Methode

Definitie

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

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

Parameters

font
Object

De IFontDisp om een Font van te maken.

Retouren

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

Van toepassing op

Zie ook