Support.FontChangeGdiCharSet(Font, Byte) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862
返回指定 GDI 字符集的字体。
public:
static System::Drawing::Font ^ FontChangeGdiCharSet(System::Drawing::Font ^ CurrentFont, System::Byte GdiCharSet);
public static System.Drawing.Font FontChangeGdiCharSet(System.Drawing.Font CurrentFont, byte GdiCharSet);
[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 FontChangeGdiCharSet(System.Drawing.Font CurrentFont, byte GdiCharSet);
static member FontChangeGdiCharSet : System.Drawing.Font * byte -> 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 FontChangeGdiCharSet : System.Drawing.Font * byte -> System.Drawing.Font
Public Function FontChangeGdiCharSet (CurrentFont As Font, GdiCharSet As Byte) As Font
参数
- GdiCharSet
- Byte
一个字节值,指定要使用的 GDI 字符集。
返回
指定 GDI 字符集的 A Font 。
- 属性
注解
在 Visual Basic 6.0 中,stdFont 对象具有指定字体的 GDI 字符集的 CharSet 属性。 在Visual Basic中,字符集被指定为可选Font构造函数。 升级工具使用此函数将 a stdFont 转换为 Font.
注释
Microsoft.VisualBasic.Compatibility.VB6 命名空间中的函数和对象由用于从 Visual Basic 6.0 升级到 Visual Basic 2008 的工具使用。 在大多数情况下,这些函数和对象重复了可在 .NET Framework 中的其他命名空间中找到的功能。 仅当 Visual Basic 6.0 代码模型与 .NET Framework 实现明显不同时,它们才是必需的。