User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_viewerwnd.maptoscreen_itgis_point

Table of Contents

ITGIS_ViewerWnd.MapToScreen method

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_ViewerWnd.MapToScreen | Methods | Properties

Converts point coordinates from map related to screen related.

Available also on: Delphi FMX | .NET WinForms | Java | Python.

Syntax

// C#
public ITPoint MapToScreen(
  ITGIS_Point _ptg
);
' VisualBasic
Public Function MapToScreen(
  ByVal _ptg As ITGIS_Point
) As ITPoint
// Oxygene
public
  function MapToScreen(
    _ptg : ITGIS_Point
  ) : ITPoint;

Parameters

Name Type Description
_ptg ITGIS_Point coordinate in map units

Result

Type Description
ITPoint Map coordinates converted to screen coordinates.

Remarks

See TGIS_LayerVector.DrawLabel for example.

2022/11/16 01:12

Page Tools