User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_csunits.create_integer_string_string_tgis_csunitstype_double

Table of Contents

TGIS_CSUnits.TGIS_CSUnits(int, string, string, TGIS_CSUnitsType, double) constructor

DK11 for .NET | TatukGIS.NDK.TGIS_CSUnits.Create | Overloads | Constructors | Methods | Properties

Create an instance.

Available also on: Delphi | Java | ActiveX.

Syntax

// C#
public TGIS_CSUnits(
  int _epsg,
  string _wkt,
  string _symbol,
  TGIS_CSUnitsType _type,
  double _factor
);
' VisualBasic
Public Sub New(
  ByVal _epsg As Integer,
  ByVal _wkt As String,
  ByVal _symbol As String,
  ByVal _type As TGIS_CSUnitsType,
  ByVal _factor As Double
)
// Oxygene
public
  constructor (
    _epsg : Integer;
    _wkt : String;
    _symbol : String;
    _type : TGIS_CSUnitsType;
    _factor : Double
  );

Parameters

Name Type Description
_epsg int
Integer
EPSG code for the unit
_wkt string
String
WKT name for the unit
_symbol string
String
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.
2020/05/07 01:16

Page Tools