Support.FontToIFont(Font) Methode

Definitie

Let op

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

Converteert een Font naar een Visual Basic 6.0 stdFont-object.

public:
 static System::Object ^ FontToIFont(System::Drawing::Font ^ fnt);
public static object FontToIFont(System.Drawing.Font fnt);
[System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")]
public static object FontToIFont(System.Drawing.Font fnt);
static member FontToIFont : System.Drawing.Font -> obj
[<System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")>]
static member FontToIFont : System.Drawing.Font -> obj
Public Function FontToIFont (fnt As Font) As Object

Parameters

fnt
Font

De Font te converteren.

Retouren

Een stdFont-object.

Kenmerken

Opmerkingen

Het Visual Basic 6.0 stdFont-object is gebaseerd op COM en heeft geen equivalent in Visual Basic. Deze functie wordt gebruikt door de upgradehulpprogramma's om te converteren tussen een Font en een tijdens de stdFont projectupgrade.

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