Track.ValueFromPoint(Point) 方法

定義

計算沿著 ThumbTrack 到指定點的距離。

public:
 virtual double ValueFromPoint(System::Windows::Point pt);
public virtual double ValueFromPoint (System.Windows.Point pt);
abstract member ValueFromPoint : System.Windows.Point -> double
override this.ValueFromPoint : System.Windows.Point -> double
Public Overridable Function ValueFromPoint (pt As Point) As Double

參數

pt
Point

指定的點。

傳回

介於 Thumb 到指定 pt 值之間的距離。

適用於