次の方法で共有


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

パラメーター

Width
Double

幅を表す Double

ScaleWidth
Double

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

OriginalWidthInPixels
Int32

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

戻り値

変換された Visual Basic 6.0 ScaleWidth を格納する Double

属性

注釈

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

注意

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

適用対象