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 使用两个坐标空间:逻辑空间和客户端:

客户端坐标相对于左上角 WorkflowView。 左上角为 0,0;x 和 y 坐标在可查看区域中垂直和水平增加。 客户端坐标系受滚动条位置和滚动条位置的 WorkflowView 缩放级别影响。

在逻辑坐标系中,每个对象始终映射到 0,0。 垂直和水平位置不受缩放或滚动条位置的影响。

适用于