User Tools

Site Tools


api:dk11:net:tatukgis.ndk.winforms.tgis_viewerwnd.screentomaprect_trect

Table of Contents

TGIS_ViewerWnd.ScreenToMapRect method

DK11 for .NET | TatukGIS.NDK.WinForms.TGIS_ViewerWnd.ScreenToMapRect | Constructors | Fields | Methods | Properties | Events

Converts rectangle coordinates from screen related to map related.

Available also on: Delphi FMX | Delphi VCL | .NET WPF | Java.

Syntax

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

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.

2017/09/04 11:29