User Tools

Site Tools


api:dk11:delphi:gislayerpixel.tgis_layerpixel.maptorasterrect_tgis_extent_tgis_cscoordinatesystem

Table of Contents

TGIS_LayerPixel.MapToRasterRect method

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

Converts map extent to raster rectangle.

Available also on: .NET | Java | ActiveX.

Syntax

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

Parameters

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

Result

Type Description
TRect calculated rectangle
2020/05/07 01:08

Page Tools