User Tools

Site Tools


api:dk11:java:tatukgis.jdk.tgis_csunitslist.addauto_integer_string_arrayinteger

Table of Contents

TGIS_CSUnitsList.AddAuto method

DK11 for Java | tatukgis.jdk.TGIS_CSUnitsList.AddAuto | Constructors | Methods | Properties

Add a new item into the list.

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

Syntax

// Java
public TGIS_CSUnits AddAuto(
  int _epsg,
  java.lang.String _wkt,
  int[] _subunits
);
// Oxygene
public
  function AddAuto(
    _epsg : Integer;
    _wkt : String;
    _subunits : array of array of Integer
  ) : TGIS_CSUnits; virtual;

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 java.lang.String
String
WKT name for the unit
_subunits int[]
Integer[]
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
TGIS_CSUnits Newly created object.

Remarks

function will not check _epsg and _wkt for being unique

2022/11/16 01:42

Page Tools