User Tools

Site Tools


api:dk11:delphi:gisinterfaces.igis_viewer.screentomap_tpoint

Table of Contents

IGIS_Viewer.ScreenToMap method

DK11 for Delphi | GisInterfaces.IGIS_Viewer.ScreenToMap | Methods | Properties

Converts point coordinates from screen related to map related.

Available also on: .NET | Java | ActiveX.

Syntax

// Delphi
public
  function ScreenToMap(
    const _pt : TPoint
  ) : TGIS_Point;
// C++ Builder
public:
  TGIS_Point* ScreenToMap(
    TPoint* const _pt
  ) = 0;

Parameters

Name Type Description
_pt TPoint coordinate in screen units

Result

Type Description
TGIS_Point Screen coordinates converted to map coordinates.

Remarks

See TGIS_LayerVector.Locate for example.

2018/02/17 00:05