User Tools

Site Tools


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

Table of Contents

TGIS_ViewerWnd.ScreenToMap method

DK for .NET | TatukGIS.NDK.WinForms.TGIS_ViewerWnd.ScreenToMap | Constructors | Fields | Methods | Properties | Events

Converts point coordinates from screen related to map related.

Available also on: Delphi FMX | Java | ActiveX.

Syntax

Implements IGIS_Viewer.ScreenToMap.

// C#
public TGIS_Point ScreenToMap(
  TPoint _pt
);
' VisualBasic
Public Function ScreenToMap(
  ByVal _pt As TPoint
) As TGIS_Point
// Oxygene
public
  function ScreenToMap(
    _pt : TPoint
  ) : TGIS_Point;

Parameters

Name Type Description
_pt TPoint coordinate in screen units

Result

Type Description
TGIS_Point Screen coordinates converted to map coordinates.

Remarks

See TGIS_LayerVector.Locate for example.

2025/01/31 01:14

Page Tools