Support.FromPixelsUserWidth(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 ScaleWidth 測定に変換します。

public:
 static double FromPixelsUserWidth(double Width, double ScaleWidth, int OriginalWidthInPixels);
public static double FromPixelsUserWidth(double Width, double ScaleWidth, int OriginalWidthInPixels);
[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 FromPixelsUserWidth(double Width, double ScaleWidth, int OriginalWidthInPixels);
static member FromPixelsUserWidth : 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 FromPixelsUserWidth : double * double * int -> double
Public Function FromPixelsUserWidth (Width As Double, ScaleWidth As Double, OriginalWidthInPixels As Integer) As Double

パラメーター

Width
Double

幅を表す Double

ScaleWidth
Double

現在の Double のVisual Basic 6.0 ScaleWidthを表すScaleMode

OriginalWidthInPixels
Int32

幅をピクセル単位で表す Integer

返品

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

属性

注釈

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 の実装と大きく異なる場合にのみ必要です。

適用対象