Language

Support.FromPixelsUserY(Double, Double, Double, Int32) メソッド

定義

注意事項

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

ピクセル測定を Visual Basic 6.0 ScaleTop 測定に変換します。

public:
 static double FromPixelsUserY(double Y, double ScaleTop, double ScaleHeight, int OriginalHeightInPixels);
public static double FromPixelsUserY(double Y, double ScaleTop, double ScaleHeight, int OriginalHeightInPixels);
[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 FromPixelsUserY(double Y, double ScaleTop, double ScaleHeight, int OriginalHeightInPixels);
static member FromPixelsUserY : double * double * double * int -> 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 FromPixelsUserY : double * double * double * int -> double
Public Function FromPixelsUserY (Y As Double, ScaleTop As Double, ScaleHeight As Double, OriginalHeightInPixels As Integer) As Double

パラメーター

Y
Double

X 座標を表す Double 。

ScaleTop
Double

現在の Double のVisual Basic 6.0 ScaleTopを表すScaleMode。

ScaleHeight
Double

現在の Double のVisual Basic 6.0 ScaleHeightを表すScaleMode。

OriginalHeightInPixels
Int32

高さをピクセル単位で表す Integer 。

返品

変換されたVisual Basic 6.0 Double を含む ScaleTop。

属性

注釈

Visual Basic 6.0 では、ScaleMode プロパティによって定義された複数の座標系がサポートされています。 これには、ユーザー定義の値が含まれていました。 Visual Basicは、ピクセルに基づく座標系のみをサポートします。 この関数は、ピクセルとユーザー定義のスケール値の間で変換するためにアップグレード ツールによって使用されます。

Note

Microsoft.VisualBasic.Compatibility.VB6 名前空間の関数とオブジェクトは、Visual Basic 6.0 から Visual Basic 2008 にアップグレードするためのツールで使用するために提供されています。 ほとんどの場合、これらの関数とオブジェクトは、.NET Framework の他の名前空間で見つけることができる機能を複製します。 これらは、Visual Basic 6.0 コード モデルが .NET Framework の実装と大きく異なる場合にのみ必要です。

適用対象