User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_csunitslist.addauto_integer_string_arrayinteger

Table of Contents

TGIS_CSUnitsList.AddAuto method

DK11 for .NET | TatukGIS.NDK.TGIS_CSUnitsList.AddAuto | Constructors | Methods | Properties

Add a new item into the list.

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

Syntax

// C#
public virtual TGIS_CSUnits AddAuto(
  int _epsg,
  string _wkt,
  int[] _subunits
);
' VisualBasic
Public Overridable Function AddAuto(
  ByVal _epsg As Integer,
  ByVal _wkt As String,
  ByVal _subunits As Integer()
) As TGIS_CSUnits
// 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 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:29

Page Tools