User Tools

Site Tools


api:dk11:delphi:gisviewer.tgis_viewer.screentomaprect_trect

Table of Contents

TGIS_Viewer.ScreenToMapRect(TRect) method

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

Converts rectangle coordinates from screen related to map related.

Available also on: .NET | Java | ActiveX | Python.

Syntax

Implements IGIS_Viewer.ScreenToMapRect.

// Delphi
public
  function ScreenToMapRect(
    const _rct : TRect
  ) : TGIS_Extent; overload;
// C++ Builder
public:
  TGIS_Extent* ScreenToMapRect(
    TRect* const _rct
  ) /* overload */;

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/30 19:19

Page Tools