Support.FontChangeBold(Font, Boolean) メソッド

定義

注意事項

Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862

フォントの Bold スタイル ビットを変更します。

public:
 static System::Drawing::Font ^ FontChangeBold(System::Drawing::Font ^ CurrentFont, bool Bold);
public static System.Drawing.Font FontChangeBold(System.Drawing.Font CurrentFont, bool Bold);
[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 FontChangeBold(System.Drawing.Font CurrentFont, bool Bold);
static member FontChangeBold : System.Drawing.Font * bool -> 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 FontChangeBold : System.Drawing.Font * bool -> System.Drawing.Font
Public Function FontChangeBold (CurrentFont As Font, Bold As Boolean) As Font

パラメーター

CurrentFont
Font

Font です。

Bold
Boolean

true Bold スタイル ビットを設定する場合は |。それ以外の場合はfalse

返品

新しいスタイルが適用された Font

属性

注釈

Visual Basic 6.0 では、プロパティを設定してフォント スタイルを適用しました。Visual Basic フォント スタイルでは、FontStyle 列挙体を使用して適用されます。 この関数は、Visual Basic 6.0 プロパティを新しい列挙型に変換するために、アップグレード ツールによって使用されます。

Note

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

適用対象