Support.PixelsToTwipsY(Double) Methode

Definition

Achtung

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

Konvertiert eine Y-Koordinate von Pixeln in Twips.

public:
 static double PixelsToTwipsY(double Y);
public static double PixelsToTwipsY(double Y);
[System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")]
public static double PixelsToTwipsY(double Y);
static member PixelsToTwipsY : double -> double
[<System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")>]
static member PixelsToTwipsY : double -> double
Public Function PixelsToTwipsY (Y As Double) As Double

Parameter

Y
Double

A Double , das die zu konvertierende Y-Koordinate enthält.

Gibt zurück

A Double , das die in Twips ausgedrückte Y-Koordinate enthält.

Attribute

Hinweise

In Visual Basic 6,0 wurden Koordinaten in Twips ausgedrückt; in Visual Basic werden sie in Pixeln ausgedrückt. Diese Funktion wird von den Upgradetools verwendet, um zwischen den beiden Koordinatensystemen zu konvertieren.

Note

Funktionen und Objekte im namespace Microsoft.VisualBasic.Compatibility.VB6 werden von den Tools zum Upgrade von Visual Basic 6.0 auf Visual Basic 2008 bereitgestellt. In den meisten Fällen haben diese Funktionen und Objekte doppelte Funktionen, die Sie in anderen Namespaces im .NET Framework finden können. Sie sind nur erforderlich, wenn sich das Visual Basic 6.0-Codemodell erheblich von der .NET Framework-Implementierung unterscheidet.

Gilt für: