Support.FontChangeGdiCharSet(Font, Byte) Methode

Definitie

Let op

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

Retourneert een lettertype voor een opgegeven GDI-tekenset.

public:
 static System::Drawing::Font ^ FontChangeGdiCharSet(System::Drawing::Font ^ CurrentFont, System::Byte GdiCharSet);
public static System.Drawing.Font FontChangeGdiCharSet(System.Drawing.Font CurrentFont, byte GdiCharSet);
[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 FontChangeGdiCharSet(System.Drawing.Font CurrentFont, byte GdiCharSet);
static member FontChangeGdiCharSet : System.Drawing.Font * byte -> 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 FontChangeGdiCharSet : System.Drawing.Font * byte -> System.Drawing.Font
Public Function FontChangeGdiCharSet (CurrentFont As Font, GdiCharSet As Byte) As Font

Parameters

CurrentFont
Font

A Font.

GdiCharSet
Byte

Een bytewaarde die de GDI-tekenset aangeeft die moet worden gebruikt.

Retouren

A Font voor de opgegeven GDI-tekenset.

Kenmerken

Opmerkingen

In Visual Basic 6.0 had het stdFont-object een eigenschap CharSet die de GDI-tekenset voor een lettertype heeft opgegeven. In Visual Basic wordt de tekenset opgegeven als optioneel van een Font constructor. Deze functie wordt gebruikt door de upgradehulpprogramma's om een stdFont te converteren naar een Font.

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

Zie ook