User Tools

Site Tools


api:dk11:delphi:giscssystems.tgis_csprojectedcoordinatesystemlist.add_integer_string_integer_integer_integer_tgis_csprojparameters

Table of Contents

TGIS_CSProjectedCoordinateSystemList.Add(Integer; String; Integer; Integer; Integer; TGIS_CSProjParameters) method

Syntax

// Delphi
public
  function Add(
    const _epsg : Integer;
    const _wkt : String;
    const _geogcs : Integer;
    const _units : Integer;
    const _projection : Integer;
    const _parameters : TGIS_CSProjParameters
  ) : TGIS_CSProjectedCoordinateSystem; overload; reintroduce; virtual;
// C++ Builder
public:
  virtual TGIS_CSProjectedCoordinateSystem* Add(
    const int _epsg,
    const UnicodeString _wkt,
    const int _geogcs,
    const int _units,
    const int _projection,
    TGIS_CSProjParameters* const _parameters
  ) /* overload */;

Parameters

Name Type Description
_epsg Integer EPSG code for the PCS
_wkt String WKT name for the PCS
_geogcs Integer EPSG code for the GCS
_units Integer EPSG code for units
_projection Integer EPSG code for the projection
_parameters TGIS_CSProjParameters projection parameters

Result

Type Description
TGIS_CSProjectedCoordinateSystem Newly created object or nil.

Remarks

function will not check _epsg and _wkt for being unique

2020/05/07 01:06

Page Tools