User Tools

Site Tools


api:dk11:delphi:gisviewer.tgis_viewer.getgrid_tgis_extent_tgis_gridarray

Table of Contents

TGIS_Viewer.GetGrid method

DK11 for Delphi | GisViewer.TGIS_Viewer.GetGrid | Constructors | Fields | Methods | Properties | Events

Fills provided _grid array with values defined by _extent. If extent is not fully covered by the gird layers then values outside the layers scope will be left untouched.

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

Syntax

Implements IGIS_Viewer.GetGrid.

// Delphi
public
  function GetGrid(
    const _extent : TGIS_Extent;
    const _grid : TGIS_GridArray
  ) : Boolean;
// C++ Builder
public:
  bool GetGrid(
    TGIS_Extent* const _extent,
    TGIS_GridArray* const _grid
  );

Parameters

Name Type Description
_extent TGIS_Extent extent of the _grid
_grid TGIS_GridArray allocated array (with/height ratio of the _grid should be the same as width/height ration of the _extent)

Result

Type Description
Boolean True if success.
2022/11/30 19:19

Page Tools