User Tools

Site Tools


api:dk11:delphi:giscsbase.tgis_csarealist.add_integer_string

Table of Contents

TGIS_CSAreaList.Add(Integer; String) method

DK11 for Delphi | GisCsBase.TGIS_CSAreaList.Add | Overloads | Constructors | Methods | Properties

Add new item into the list.

Available also on: .NET | Java | ActiveX.

Syntax

// Delphi
public
  function Add(
    const _epsg : Integer;
    const _name : String
  ) : TGIS_CSArea; overload; reintroduce; virtual;
// C++ Builder
public:
  virtual TGIS_CSArea* Add(
    const int _epsg,
    const UnicodeString _name
  ) /* overload */;

Parameters

Name Type Description
_epsg Integer EPSG code for the area name; if 0 then EPSG will be assigned from user defined, temporary pool
_name String area name

Result

Type Description
TGIS_CSArea Newly created object.

Remarks

function will not check _epsg for being unique
Function create bound area as (-180,-90,180,90). For custom area bounds see overloaded method.

2020/05/07 01:06

Page Tools