User Tools

Site Tools


api:dk11:delphi:gisviewer.tgis_viewer.maptoscreenex_tgis_point

Table of Contents

TGIS_Viewer.MapToScreenEx method

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

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

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

Syntax

Implements IGIS_Viewer.MapToScreenEx.

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

Parameters

Name Type Description
_pt TGIS_Point coordinate in map units

Result

Type Description
TGIS_Point map coordinates converted to screen coordinates

Remarks

See TGIS_LayerVector.Locate for similar example.

2022/11/30 19:19

Page Tools