Support.FontChangeUnderline(Font, Boolean) Metoda

Definice

Upozornění

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

Underline Změní bit stylu písma.

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

Parametry

CurrentFont
Font

Nějaké Font.

Underline
Boolean

true nastavit Underline bit stylu; jinak false.

Návraty

A Font s novým stylem použitým.

Atributy

Poznámky

V Visual Basic 6.0 byly styly písma použity nastavením vlastností; ve Visual Basic styly písma se použijí pomocí výčtu FontStyle. Tuto funkci používají nástroje pro upgrade k překladu vlastností Visual Basic 6.0 do nových výčtů.

Note

Funkce a objekty v oboru názvů Microsoft.VisualBasic.Compatibility.VB6 jsou poskytovány nástroji pro upgrade z Visual Basic 6.0 na Visual Basic 2008. Ve většině případů tyto funkce a objekty duplikují funkce, které najdete v jiných oborech názvů v .NET Framework. Jsou nezbytné pouze v případě, že se model kódu Visual Basic 6.0 výrazně liší od implementace .NET Framework.

Platí pro