User Tools

Site Tools


api:dk11:python:tatukgis.pdk.tgis_viewerwnd.maptoscreen_tgis_point

Table of Contents

TGIS_ViewerWnd.MapToScreen method

DK11 for Python | tatukgis.pdk.TGIS_ViewerWnd.MapToScreen | Constructors | Methods | Properties | Events

Converts point coordinates from map related to screen related.

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

Syntax

Implements IGIS_Viewer.MapToScreen.

# Python
def MapToScreen(
  self
  _ptg: tatukgis.pdk.TGIS_Point
) -> tatukgis.rtl.TPoint: 

Parameters

Name Type Description
_ptg tatukgis.pdk.TGIS_Point coordinate in map units

Result

Type Description
tatukgis.rtl.TPoint Map coordinates converted to screen coordinates.

Remarks

See TGIS_LayerVector.DrawLabel for example.

2022/11/30 16:04

Page Tools