User Tools

Site Tools


api:dk11:delphi:gisinterfaces.igis_viewer.screentomaprect_trect

Table of Contents

IGIS_Viewer.ScreenToMapRect method

DK11 for Delphi | GisInterfaces.IGIS_Viewer.ScreenToMapRect | Methods | Properties

Converts rectangle coordinates from screen related to map related.

Available also on: .NET | Java | ActiveX.

Syntax

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

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.

2020/05/07 01:07

Page Tools