User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_shape.partlengthcs_integer

Table of Contents

ITGIS_Shape.PartLengthCS method

DK for ActiveX | TatukGIS_XDK11.ITGIS_Shape.PartLengthCS | Methods | Properties

Calculate the length of a shape part.

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

Syntax

// C#
public double PartLengthCS(
  int _part
);
' VisualBasic
Public Function PartLengthCS(
  ByVal _part As Integer
) As Double
// Oxygene
public
  function PartLengthCS(
    _part : Integer
  ) : Double;

Parameters

Name Type Description
_part int
Integer
number of the part closest to a given point

Result

Type Description
double
Double
Part length in meters (or -1 if map units if CS is not defined).

Remarks

For polygons function returns length of the perimeter.

2025/01/31 01:05

Page Tools