User Tools

Site Tools


api:dk11:java:tatukgis.jdk.tgis_viewerwnd.screentomaprect_trect

Table of Contents

TGIS_ViewerWnd.ScreenToMapRect method

DK11 for Java | tatukgis.jdk.TGIS_ViewerWnd.ScreenToMapRect | Constructors | Methods | Properties | Events

Converts rectangle coordinates from screen related to map related.

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

Syntax

// Java
public TGIS_Extent ScreenToMapRect(
  TRect _rct
);
// Oxygene
public
  function ScreenToMapRect(
    _rct : TRect
  ) : TGIS_Extent;

Parameters

Name Type Description
_rct TRect coordinate in screen units

Result

Type Description
TGIS_Extent Calculated extent.

Remarks

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

2022/11/16 01:52

Page Tools