User Tools

Site Tools


api:dk11:delphi:gisviewer.tgis_viewer.screentomap_tpoint

TGIS_Viewer.ScreenToMap method

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

Converts point coordinates from screen related to map related.

Available also on: .NET | Java | ActiveX.

Syntax

Implements IGIS_Viewer.ScreenToMap.

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

Parameters

Name Type Description
_pt TPoint coordinate in screen units

Result

Type Description
TGIS_Point

Remarks

See TGIS_LayerVector.Locate for example.

References

2020/05/07 01:10