User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_csunits.create_2_integer_widestring_widestring_tgis_csunitstype_double

Table of Contents

ITGIS_CSUnits.Create_2 method

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_CSUnits.Create_2 | Methods | Properties

Create an instance.

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

Syntax

// C#
public void Create_2(
  int _epsg,
  WideString _wkt,
  WideString _symbol,
  TGIS_CSUnitsType _type,
  double _factor
);
' VisualBasic
Public Sub Create_2(
  ByVal _epsg As Integer,
  ByVal _wkt As WideString,
  ByVal _symbol As WideString,
  ByVal _type As TGIS_CSUnitsType,
  ByVal _factor As Double
)
// Oxygene
public
  procedure Create_2(
    _epsg : Integer;
    _wkt : WideString;
    _symbol : WideString;
    _type : TGIS_CSUnitsType;
    _factor : Double
  );

Parameters

Name Type Description
_epsg int
Integer
EPSG code for the unit
_wkt WideString WKT name for the unit
_symbol WideString units symbol like 'km', 'm'
_type TGIS_CSUnitsType angular, linear or areal units
_factor double
Double
factor between unit and basic unit (meter or radians); for example factor for kilometer is 1000.
2022/11/16 01:09

Page Tools