Taal

AxHost.GetIFontDispFromFont(Font) Methode

Definitie

Hiermee wordt een OLE IFontDisp-object geretourneerd dat is gemaakt op basis van het opgegeven Font object.

protected:
 static System::Object ^ GetIFontDispFromFont(System::Drawing::Font ^ font);
protected static object GetIFontDispFromFont(System.Drawing.Font font);
protected static object? GetIFontDispFromFont(System.Drawing.Font? font);
static member GetIFontDispFromFont : System.Drawing.Font -> obj
Protected Shared Function GetIFontDispFromFont (font As Font) As Object

Parameters

font
Font

Het lettertype waaruit een IFontDisp-object moet worden gemaakt.

Retouren

Het IFontDisp-object dat is gemaakt op basis van het opgegeven lettertype of null als font dat het is null.

Uitzonderingen

De Unit eigenschapswaarde is niet Point.

Van toepassing op

Zie ook