User Tools

Site Tools


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

Table of Contents

TGIS_ViewerWnd.ScreenToMapRect method

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

Converts rectangle coordinates from screen related to map related.

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

Syntax

Implements IGIS_Viewer.ScreenToMapRect.

# Python
def ScreenToMapRect(
  self
  _rct: tatukgis.rtl.TRect
) -> tatukgis.pdk.TGIS_Extent: 

Parameters

Name Type Description
_rct tatukgis.rtl.TRect coordinate in screen units

Result

Type Description
tatukgis.pdk.TGIS_Extent Calculated extent.

Remarks

This is a reverse process of MapToScreenRect method. See MapToScreenRect for similar example.

2022/11/30 16:05

Page Tools