Support.FontChangeUnderline(Font, Boolean) Methode

Definitie

Let op

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

Hiermee wijzigt u de Underline stijl-bit voor een lettertype.

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

Parameters

CurrentFont
Font

A Font.

Underline
Boolean

true om de Underline stijl-bit in te stellen; anders false.

Retouren

Een Font met de nieuwe stijl toegepast.

Kenmerken

Opmerkingen

In Visual Basic 6.0 zijn lettertypestijlen toegepast door eigenschappen in te stellen. In Visual Basic lettertypestijlen worden toegepast met behulp van een opsomming FontStyle. Deze functie wordt door de upgradehulpprogramma's gebruikt om de eigenschappen van Visual Basic 6.0 te vertalen naar de nieuwe opsommingen.

Note

Functies en objecten in de naamruimte Microsoft.VisualBasic.Compatibility.VB6 worden gebruikt door de hulpprogramma's voor het upgraden van Visual Basic 6.0 naar Visual Basic 2008. In de meeste gevallen zijn deze functies en objecten dubbele functionaliteit die u kunt vinden in andere naamruimten in het .NET Framework. Ze zijn alleen nodig wanneer het codemodel Visual Basic 6.0 aanzienlijk verschilt van de .NET Framework-implementatie.

Van toepassing op