User Tools

Site Tools


api:dk11:java:tatukgis.jdk.tgis_viewerwnd.maptoscreen_tgis_point

Table of Contents

TGIS_ViewerWnd.MapToScreen method

DK11 for Java | tatukgis.jdk.TGIS_ViewerWnd.MapToScreen | Constructors | Methods | Properties | Events

Converts point coordinates from map related to screen related.

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

Syntax

// Java
public TPoint MapToScreen(
  TGIS_Point _ptg
);
// Oxygene
public
  function MapToScreen(
    _ptg : TGIS_Point
  ) : TPoint;

Parameters

Name Type Description
_ptg TGIS_Point coordinate in map units

Result

Type Description
TPoint

Remarks

See TGIS_LayerVector.DrawLabel for example.

2017/09/04 11:22