User Tools

Site Tools


api:dk11:net:tatukgis.ndk.wpf.tgis_viewerwnd.getgrid_tgis_extent_tgis_gridarray

Table of Contents

TGIS_ViewerWnd.GetGrid method

DK11 for .NET | TatukGIS.NDK.WPF.TGIS_ViewerWnd.GetGrid | Constructors | 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: Delphi FMX | Delphi VCL | .NET WinForms | Java.

Syntax

// C#
public bool GetGrid(
  TGIS_Extent _extent,
  float[][] _grid
);
' VisualBasic
Public Function GetGrid(
  ByVal _extent As TGIS_Extent,
  ByVal _grid As Single()()
) As Boolean
// Oxygene
public
  function GetGrid(
    _extent : TGIS_Extent;
    _grid : TGIS_GridArray
  ) : Boolean;

Parameters

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

Result

Type Description
bool
Boolean
2017/09/04 11:30