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