User Tools

Site Tools


Table of Contents

ITGIS_StatisticsAbstract.Add_4 method

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_StatisticsAbstract.Add_4 | Methods | Properties

Adds statistics result definition.

If definition exists, requested functions will be updated.

Available also on: Delphi | .NET | Java.


// C#
public void Add_4(
  WideString _name,
  TGIS_StatisticalFunction _function,
  ITGIS_VariantArray _params,
  OleVariant _ignore_value
' VisualBasic
Public Sub Add_4(
  ByVal _name As WideString,
  ByVal _function As TGIS_StatisticalFunction,
  ByVal _params As ITGIS_VariantArray,
  ByVal _ignore_value As OleVariant
// Oxygene
  procedure Add_4(
    _name : WideString;
    _function : TGIS_StatisticalFunction;
    _params : ITGIS_VariantArray;
    _ignore_value : OleVariant


Name Type Description
_name WideString name of statistics result;
_function TGIS_StatisticalFunction requested statistical function
_params ITGIS_VariantArray optional parameters; if empty, assign default parameters; check the documentation of a specific statistical function
_ignore_value OleVariant value from dataset which will be ignored in statistics; use Null to omit


Valid strings which can be set for _name are listed below.

Layer typeValid strings
vectorexisting fields names
image'A', 'R', 'G', 'B', 'H', 'S', 'L'
grid or pixelband number starting from 0: '0', '1', '2', '3', etc., where 0 is the default band

2021/02/19 21:00

Page Tools