AxHost.GetIFontDispFromFont(Font) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳由指定物件建立的 Font 物件。
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
參數
- font
- Font
用來建立 IFontDisp 物件的字型。
傳回
IFontDisp 物件由指定字型建立,若nullfont為 null。