DK11 for Delphi | GisCsBase.TGIS_CSUnitsList.AddAuto | Constructors | Methods | Properties
Add a new item into the list.
// Delphi public function AddAuto( const _epsg : Integer; const _wkt : String; const _subunits : array of array of Integer ) : TGIS_CSUnits; virtual;
// C++ Builder public: virtual TGIS_CSUnits* AddAuto( const int _epsg, const UnicodeString _wkt, const DynamicArray<int> _subunits );
Name | Type | Description |
---|---|---|
_epsg | Integer | EPSG code for the unit; if 0 then EPSG will be assigned from user defined, temporary pool |
_wkt | String | WKT name for the unit |
_subunits | array of 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 |
Type | Description |
---|---|
TGIS_CSUnits | Newly created object. |