User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.igis_viewer.screentomaprect_itrect

Table of Contents

IGIS_Viewer.ScreenToMapRect method

DK for ActiveX | TatukGIS_XDK11.IGIS_Viewer.ScreenToMapRect | Methods | Properties

Converts rectangle coordinates from screen related to map related.

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

Syntax

// C#
public ITGIS_Extent ScreenToMapRect(
  ITRect _rct
);
' VisualBasic
Public Function ScreenToMapRect(
  ByVal _rct As ITRect
) As ITGIS_Extent
// Oxygene
public
  function ScreenToMapRect(
    _rct : ITRect
  ) : ITGIS_Extent;

Parameters

Name Type Description
_rct ITRect coordinate in screen units

Result

Type Description
ITGIS_Extent Calculated extent.

Remarks

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

2025/01/31 01:03

Page Tools