Support.FontChangeItalic(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 Italic stijl-bit voor een lettertype.

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

Parameters

CurrentFont
Font

A Font.

Italic
Boolean

true om de Italic 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