User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_viewer.screentomap_tpoint

TGIS_Viewer.ScreenToMap method

DK11 for .NET | TatukGIS.NDK.TGIS_Viewer.ScreenToMap | Constructors | Fields | Methods | Properties | Events

Converts point coordinates from screen related to map related.

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

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.

References

2022/11/30 19:27

Page Tools