User Tools

Site Tools


api:dk11:delphi:fmx.gisviewerwnd.tgis_viewerwnd.screentomaprect_trect

Table of Contents

TGIS_ViewerWnd.ScreenToMapRect method

DK11 for Delphi | FMX.GisViewerWnd.TGIS_ViewerWnd.ScreenToMapRect | Constructors | Methods | Properties | Events

Converts rectangle coordinates from screen related to map related.

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

Syntax

Implements IGIS_Viewer.ScreenToMapRect.

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

Parameters

Name Type Description
_rct TRect coordinate in screen units

Result

Type Description
TGIS_Extent

Remarks

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

2020/05/22 01:06

Page Tools