User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_layerpixel.maptorasterrect_itgis_extent_itgis_cscoordinatesystem

Table of Contents

ITGIS_LayerPixel.MapToRasterRect method

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

Converts map extent to raster rectangle.

Available also on: Delphi | .NET | Java.

Syntax

// C#
public ITRect MapToRasterRect(
  ITGIS_Extent _ext,
  ITGIS_CSCoordinateSystem _cs
);
' VisualBasic
Public Function MapToRasterRect(
  ByVal _ext As ITGIS_Extent,
  ByVal _cs As ITGIS_CSCoordinateSystem
) As ITRect
// Oxygene
public
  function MapToRasterRect(
    _ext : ITGIS_Extent;
    _cs : ITGIS_CSCoordinateSystem
  ) : ITRect;

Parameters

Name Type Description
_ext ITGIS_Extent extent to be converted
_cs ITGIS_CSCoordinateSystem coordinate system of _ext; if nil that coordinate system same as layer coordinate system

Result

Type Description
ITRect calculated rectangle
2020/05/07 01:04

Page Tools