User Tools

Site Tools


api:dk11:delphi:gisviewer.tgis_viewer.screentomapex_tgis_point

Table of Contents

TGIS_Viewer.ScreenToMapEx method

DK11 for Delphi | GisViewer.TGIS_Viewer.ScreenToMapEx | Constructors | Fields | Methods | Properties | Events

Converts point coordinates from screen related to map related, but source will be in TGIS_Point.

Available also on: .NET | Java | ActiveX | Python.

Syntax

Implements IGIS_Viewer.ScreenToMapEx.

// Delphi
public
  function ScreenToMapEx(
    const _pt : TGIS_Point
  ) : TGIS_Point;
// C++ Builder
public:
  TGIS_Point* ScreenToMapEx(
    TGIS_Point* const _pt
  );

Parameters

Name Type Description
_pt TGIS_Point coordinate in screen units

Result

Type Description
TGIS_Point screen coordinates converted to map coordinates

Remarks

See TGIS_LayerVector.Locate for example.

2022/11/30 19:19

Page Tools