User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_statisticsabstract.add_4_widestring_tgis_statisticalfunction_itgis_variantarray_olevariant

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.

Syntax

// 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
public
  procedure Add_4(
    _name : WideString;
    _function : TGIS_StatisticalFunction;
    _params : ITGIS_VariantArray;
    _ignore_value : OleVariant
  );

Parameters

Name Type Description
_name WideString name of statistics result;
_function TGIS_StatisticalFunction requested statistical function
_params ITGIS_VariantArray optional 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

Remarks

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

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

2020/06/03 01:04

Page Tools