WorkflowView.LogicalPointToScreen(Point) Método

Definição

Converte um Point de coordenadas lógicas em coordenadas de tela.Converts a Point from logical to screen coordinates.

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

Parâmetros

logicalPoint
Point

O Point a ser convertido em coordenadas de tela.The Point to convert to screen coordinates.

Retornos

Point

Um Point convertido de coordenadas lógicas em coordenadas de tela.A Point converted from logical to screen 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