User Tools

Site Tools


api:dk11:delphi:gisviewer.tgis_viewer.screentomaprect_integer_integer_integer_integer

Table of Contents

TGIS_Viewer.ScreenToMapRect(Integer; Integer; Integer; Integer) method

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

Converts point coordinates from screen related to map related.

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

Syntax

// Delphi
public
  function ScreenToMapRect(
    const _left : Integer;
    const _top : Integer;
    const _right : Integer;
    const _bottom : Integer
  ) : TGIS_Extent; overload;
// C++ Builder
public:
  TGIS_Extent* ScreenToMapRect(
    const int _left,
    const int _top,
    const int _right,
    const int _bottom
  ) /* overload */;

Parameters

Name Type Description
_left Integer rectangle coordinate in screen units
_top Integer rectangle coordinate in screen units
_right Integer rectangle coordinate in screen units
_bottom Integer rectangle coordinate in screen units

Result

Type Description
TGIS_Extent Screen coordinates converted to map coordinates.
2025/01/31 01:09

Page Tools