User Tools

Site Tools


api:dk11:delphi:gisviewer.tgis_viewer.maptoscreen_tgis_point

Table of Contents

TGIS_Viewer.MapToScreen method

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

Converts point coordinates from map related to screen related.

Available also on: .NET | Java | ActiveX.

Syntax

Implements IGIS_Viewer.MapToScreen.

// Delphi
public
  function MapToScreen(
    const _ptg : TGIS_Point
  ) : TPoint;
// C++ Builder
public:
  TPoint* MapToScreen(
    TGIS_Point* const _ptg
  );

Parameters

Name Type Description
_ptg TGIS_Point coordinate in map units

Result

Type Description
TPoint

Remarks

See TGIS_LayerVector.DrawLabel for example.

2020/05/07 01:10