User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_viewerwnd.screentomaprect_itrect

Table of Contents

ITGIS_ViewerWnd.ScreenToMapRect method

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_ViewerWnd.ScreenToMapRect | Methods | Properties

Converts rectangle coordinates from screen related to map related.

Available also on: Delphi FMX | .NET WinForms | 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.

2022/11/16 01:12

Page Tools