WorkflowView.LogicalPointToClient(Point) Método

Definição

Converte um Point de coordenadas lógicas para coordenadas de cliente.Converts a Point from logical to client coordinates.

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

Parâmetros

logicalPoint
Point

O Point a ser convertido em coordenadas de cliente.The Point to convert to client coordinates.

Retornos

Point

O Point convertido de coordenadas lógicas para coordenadas de cliente.The Point converted from logical to client coordinates.

Comentários

WorkflowView usa dois espaços de coordenadas: lógico e cliente:WorkflowView uses two coordinate spaces: logical and client:

  • As coordenadas do cliente são relativas ao canto superior esquerdo do WorkflowView .Client coordinates are relative to the upper-left corner of the WorkflowView. O canto superior esquerdo é 0, 0; as coordenadas x e y aumentam vertical e horizontalmente na área visível.The upper-left corner is 0,0; x and y coordinates increase vertically and horizontally in the viewable area. O sistema de coordenadas do cliente é afetado pelo nível de zoom do WorkflowView e pela posição do ScrollBar.The client coordinate system is affected by the zoom level of the WorkflowView and by the scrollbar position.

No sistema de coordenadas lógicas, cada objeto sempre é mapeado para 0, 0.In the logical coordinate system every object is always mapped to 0,0. A posição vertical e horizontalmente não é afetada pela posição do zoom ou da barra de rolagem.The position vertically and horizontally is not affected by zoom or scrollbar position.

Aplica-se a