User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_csunitslist.addauto_integer_widestring_itgis_integerarray

Table of Contents

ITGIS_CSUnitsList.AddAuto method

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_CSUnitsList.AddAuto | Methods | Properties

Add a new item into the list.

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

Syntax

// C#
public ITGIS_CSUnits AddAuto(
  int _epsg,
  WideString _wkt,
  ITGIS_IntegerArray _subunits
);
' VisualBasic
Public Function AddAuto(
  ByVal _epsg As Integer,
  ByVal _wkt As WideString,
  ByVal _subunits As ITGIS_IntegerArray
) As ITGIS_CSUnits
// Oxygene
public
  function AddAuto(
    _epsg : Integer;
    _wkt : WideString;
    _subunits : ITGIS_IntegerArray
  ) : ITGIS_CSUnits;

Parameters

Name Type Description
_epsg int
Integer
EPSG code for the unit; if 0 then EPSG will be assigned from user defined, temporary pool
_wkt WideString WKT name for the unit
_subunits ITGIS_IntegerArray list of units in a set ordered by factor; if contains areal units then order should be by squared factor of all units except areas

Result

Type Description
ITGIS_CSUnits Newly created object.

Remarks

function will not check _epsg and _wkt for being unique

2022/11/16 01:09

Page Tools