WorkflowView.ScreenPointToLogical(Point) メソッド

定義

Pointを画面座標から論理座標に変換します。

public:
 System::Drawing::Point ScreenPointToLogical(System::Drawing::Point screenPoint);
public System.Drawing.Point ScreenPointToLogical(System.Drawing.Point screenPoint);
member this.ScreenPointToLogical : System.Drawing.Point -> System.Drawing.Point
Public Function ScreenPointToLogical (screenPoint As Point) As Point

パラメーター

screenPoint
Point

画面座標から論理座標に変換する Point

返品

Point画面座標から論理座標に変換されます。

注釈

WorkflowView では、論理とクライアントの 2 つの座標空間が使用されます。

クライアント座標は、 WorkflowViewの左上隅を基準にしています。 左上隅は 0,0 です。x 座標と y 座標は、表示可能領域で垂直方向と水平方向に増加します。 クライアント座標系は、 WorkflowView のズーム レベルとスクロール バーの位置の影響を受けます。

論理座標系では、すべてのオブジェクトは常に 0,0 にマップされます。 垂直方向と水平方向の位置は、ズームやスクロール バーの位置の影響を受けません。

適用対象