User Tools

Site Tools


api:dk11:delphi:gislayerpixel.tgis_layerpixel.rastertomaprect_trect_tgis_cscoordinatesystem

Table of Contents

TGIS_LayerPixel.RasterToMapRect method

DK11 for Delphi | GisLayerPixel.TGIS_LayerPixel.RasterToMapRect | Constructors | Fields | Methods | Properties | Events

Convert raster rectangle to map extent

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

Syntax

// Delphi
public
  function RasterToMapRect(
    const _rct : TRect;
    const _cs : TGIS_CSCoordinateSystem
  ) : TGIS_Extent;
// C++ Builder
public:
  TGIS_Extent* RasterToMapRect(
    TRect* const _rct,
    TGIS_CSCoordinateSystem* const _cs
  );

Parameters

Name Type Description
_rct TRect rectangle to be converted
_cs TGIS_CSCoordinateSystem coordinate system of returned value; if nil that coordinate system same as layer coordinate system

Result

Type Description
TGIS_Extent map extent.
2022/11/16 01:19

Page Tools