User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_shape.partlength_integer

Table of Contents

ITGIS_Shape.PartLength method

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_Shape.PartLength | Methods | Properties

Calculate the length of a shape part.

Available also on: Delphi | .NET | Java.

Syntax

// C#
public double PartLength(
  int _part
);
' VisualBasic
Public Function PartLength(
  ByVal _part As Integer
) As Double
// Oxygene
public
  function PartLength(
    _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 map units.

Remarks

For polygons function returns length of the perimeter.

2019/02/08 01:07