User Tools

Site Tools


api:dk11:delphi:gisstatistics.tgis_statisticsabstract.add_string_tgis_statisticalfunctions_variant

Table of Contents

TGIS_StatisticsAbstract.Add(String; TGIS_StatisticalFunctions; Variant) method

DK11 for Delphi | GisStatistics.TGIS_StatisticsAbstract.Add | Overloads | Methods | Properties

Add statistics result definition.

If definition exists, requested functions will be updated.

Available also on: .NET | Java | ActiveX.

Syntax

// Delphi
public
  procedure Add(
    const _name : String;
    const _functions : TGIS_StatisticalFunctions;
    const _ignore_value : Variant
  ); overload;
// C++ Builder
public:
  void Add(
    const UnicodeString _name,
    TGIS_StatisticalFunctions* const _functions,
    Variant* const _ignore_value
  ) /* overload */;

Parameters

Name Type Description
_name String name of statistics result;
_functions TGIS_StatisticalFunctions record with requested statistical functions
_ignore_value Variant 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'
pixel'A', 'R', 'G', 'B', 'H', 'S', 'L'

References

2019/06/26 01:09