User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_layerpixel.maptoraster_itgis_point_itgis_cscoordinatesystem

Table of Contents

ITGIS_LayerPixel.MapToRaster method

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_LayerPixel.MapToRaster | Methods | Properties

Converts map coordinates to raster pixel location.

Available also on: Delphi | .NET | Java.

Syntax

// C#
public ITPoint MapToRaster(
  ITGIS_Point _ptg,
  ITGIS_CSCoordinateSystem _cs
);
' VisualBasic
Public Function MapToRaster(
  ByVal _ptg As ITGIS_Point,
  ByVal _cs As ITGIS_CSCoordinateSystem
) As ITPoint
// Oxygene
public
  function MapToRaster(
    _ptg : ITGIS_Point;
    _cs : ITGIS_CSCoordinateSystem
  ) : ITPoint;

Parameters

Name Type Description
_ptg ITGIS_Point point to be converted
_cs ITGIS_CSCoordinateSystem coordinate system of _ptg; if nil that coordinate system same as layer coordinate system

Result

Type Description
ITPoint calculated location
2020/02/12 01:03