Support.FontChangeGdiCharSet(Font, Byte) メソッド

定義

注意事項

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

パラメーター

CurrentFont
Font

Font です。

GdiCharSet
Byte

使用する GDI 文字セットを指定するバイト値。

返品

指定した GDI 文字セットの Font

属性

注釈

Visual Basic 6.0 では、stdFont オブジェクトには、フォントの GDI 文字セットを指定する CharSet プロパティがありました。 Visual Basicでは、文字セットは、Font コンストラクターの省略可能として指定されます。 この関数は、 stdFontFontに変換するためにアップグレード ツールによって使用されます。

Note

Microsoft.VisualBasic.Compatibility.VB6 名前空間の関数とオブジェクトは、Visual Basic 6.0 から Visual Basic 2008 にアップグレードするためのツールで使用するために提供されています。 ほとんどの場合、これらの関数とオブジェクトは、.NET Framework の他の名前空間で見つけることができる機能を複製します。 これらは、Visual Basic 6.0 コード モデルが .NET Framework の実装と大きく異なる場合にのみ必要です。

適用対象

こちらもご覧ください