Support.FontChangeStrikeout(Font, Boolean) 方法
定义
注意
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);
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
参数
- Strikeout
- Boolean
若要设置 Strikeout 样式位,则为 true;否则为 false。true to set the Strikeout style bit; otherwise false.
返回
一个应用了新样式的 Font。A Font with the new style applied.
- 属性
注解
在 Visual Basic 6.0 中的字体样式已应用通过设置属性;在 Visual Basic 字体样式应用使用FontStyle枚举。In Visual Basic 6.0, font styles were applied by setting properties; in Visual Basic font styles are applied by using a FontStyle enumeration. 升级工具使用此函数将转换到新的枚举的 Visual Basic 6.0 属性。This function is used by the upgrade tools to translate the Visual Basic 6.0 properties to the new enumerations.
备注
Microsoft.VisualBasic.Compatibility.VB6 命名空间中的函数和对象用于工具从 Visual Basic 6.0 升级到 Visual Basic 2008。Functions and objects in the Microsoft.VisualBasic.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic 2008. 多数情况下,这些函数和对象可再现 .NET Framework 中其他命名空间的功能。In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. 只有当 Visual Basic 6.0 代码模型与 .NET Framework 实现有显著区别时,才必须使用这些函数和对象。They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.