Support.FontChangeSize(Font, Single) 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 Size eigenschap voor een lettertype.

public:
 static System::Drawing::Font ^ FontChangeSize(System::Drawing::Font ^ CurrentFont, float Size);
public static System.Drawing.Font FontChangeSize(System.Drawing.Font CurrentFont, float Size);
[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 FontChangeSize(System.Drawing.Font CurrentFont, float Size);
static member FontChangeSize : System.Drawing.Font * single -> 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 FontChangeSize : System.Drawing.Font * single -> System.Drawing.Font
Public Function FontChangeSize (CurrentFont As Font, Size As Single) As Font

Parameters

CurrentFont
Font

A Font.

Size
Single

Een Single die de eigenschap Visual Basic 6.0 FontSize vertegenwoordigt.

Retouren

Een Font die overeenkomt met de Visual Basic 6,0 FontSize.

Kenmerken

Opmerkingen

In Visual Basic 6.0 is de grootte van een lettertype opgegeven door de eigenschap FontSize; in Visual Basic is Size een eigenschap van het Font-object. Deze functie wordt gebruikt door de upgradehulpprogramma's om een Visual Basic 6.0 Font 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