User Tools

Site Tools


api:dk11:net:tatukgis.ndk.igis_viewer.maptoscreen_tgis_point

Table of Contents

IGIS_Viewer.MapToScreen method

DK11 for .NET | TatukGIS.NDK.IGIS_Viewer.MapToScreen | Methods | Properties

Converts point coordinates from map related to screen related.

Available also on: Delphi | Java | ActiveX.

Syntax

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

Parameters

Name Type Description
_ptg TGIS_Point coordinate in map units

Result

Type Description
TPoint Map coordinates converted to screen coordinates.

Remarks

See TGIS_LayerVector.DrawLabel for example.

2018/02/17 00:28