Share via


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

定義

注意事項

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

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

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

パラメーター

CurrentFont
Font

Font

Strikeout
Boolean

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

戻り値

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

属性

注釈

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

注意

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

適用対象