Support.TwipsToPixelsY(Double) 方法

定義

警告

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

將 Y 座標從 twips 轉換成像素。

public:
 static double TwipsToPixelsY(double Y);
public static double TwipsToPixelsY(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 TwipsToPixelsY(double Y);
static member TwipsToPixelsY : 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 TwipsToPixelsY : double -> double
Public Function TwipsToPixelsY (Y As Double) As Double

參數

Y
Double

Double A 包含要轉換的 X 座標。

傳回

Double A 包含以像素表示的 Y 座標。

屬性

備註

在 Visual Basic 6.0 中,座標以 twip 表示;在 Visual Basic 中則以像素表示。 此函數被升級工具用來在兩個座標系間轉換。

Note

Microsoft.VisualBasic.Compatibility.VB6 命名空間中的函式與物件,供工具從 Visual Basic 6.0 升級至 Visual Basic 2008 使用。 大多數情況下,這些函式和物件會重複你在 .NET Framework 中其他命名空間中能找到的功能。 只有當 Visual Basic 6.0 的程式碼模型與 .NET Framework 實作有顯著差異時,才需要使用這些工具。

適用於