AxHost.GetIFontFromFont(Font) Methode

Definitie

Retourneert een OLE IFont-object dat is gemaakt op basis van het opgegeven Font object.

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

Parameters

font
Font

Het lettertype waaruit een IFont-object moet worden gemaakt.

Retouren

Het IFont-object dat is gemaakt op basis van het opgegeven lettertype, of null als font dat is null of de IFont niet kan worden gemaakt.

Uitzonderingen

De Unit eigenschapswaarde is niet Point.

Van toepassing op

Zie ook