Support.IFontToFont(Object) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862
將Visual Basic 6.0 stdFont 物件轉換成 Font。
public:
static System::Drawing::Font ^ IFontToFont(System::Object ^ objFnt);
public static System.Drawing.Font IFontToFont(object objFnt);
[System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")]
public static System.Drawing.Font IFontToFont(object objFnt);
static member IFontToFont : obj -> System.Drawing.Font
[<System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")>]
static member IFontToFont : obj -> System.Drawing.Font
Public Function IFontToFont (objFnt As Object) As Font
參數
傳回
一個指定的物件要轉換。
- 屬性
備註
Visual Basic 6.0 stdFont 物件是基於 COM 的,Visual Basic 中沒有對應的物件。 這個功能被升級工具用來在專案升級時從 a Font 轉換到 a 與 a stdFont 。
Note
Microsoft.VisualBasic.Compatibility.VB6 命名空間中的函式與物件,供工具從 Visual Basic 6.0 升級至 Visual Basic 2008 使用。 大多數情況下,這些函式和物件會重複你在 .NET Framework 中其他命名空間中能找到的功能。 只有當 Visual Basic 6.0 的程式碼模型與 .NET Framework 實作有顯著差異時,才需要使用這些工具。