User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_csdatumlist.prepare_integer_widestring_integer_integer

Table of Contents

ITGIS_CSDatumList.Prepare method

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_CSDatumList.Prepare | Methods | Properties

Prepare a TGIS_CSDatum object. If the matching object does not exists then will be added to the list and returned. If the object can be found then it will be returned form the list.

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

Syntax

// C#
public ITGIS_CSDatum Prepare(
  int _epsg,
  WideString _wkt,
  int _ellipsoid,
  int _transform
);
' VisualBasic
Public Function Prepare(
  ByVal _epsg As Integer,
  ByVal _wkt As WideString,
  ByVal _ellipsoid As Integer,
  ByVal _transform As Integer
) As ITGIS_CSDatum
// Oxygene
public
  function Prepare(
    _epsg : Integer;
    _wkt : WideString;
    _ellipsoid : Integer;
    _transform : Integer
  ) : ITGIS_CSDatum;

Parameters

Name Type Description
_epsg int
Integer
EPSG code for the datum; if 0 then EPSG will be assigned from user defined, temporary pool
_wkt WideString WKT name for the datum
_ellipsoid int
Integer
EPSG code for ellipsoid
_transform int
Integer
EPSG code of default coordinate operation if value is -1 then first matching object will be found

Result

Type Description
ITGIS_CSDatum Newly created / Found object or nil.
2022/11/16 01:08

Page Tools