User Tools

Site Tools


api:dk11:delphi:gislayervector.tgis_shape.partlength_integer

Table of Contents

TGIS_Shape.PartLength method

DK11 for Delphi | GisLayerVector.TGIS_Shape.PartLength | Constructors | Fields | Methods | Properties

Calculate the length of a shape part.

Available also on: .NET | Java | ActiveX.

Syntax

// Delphi
public
  function PartLength(
    const _part : Integer
  ) : Double; virtual;
// C++ Builder
public:
  virtual double PartLength(
    const int _part
  );

Parameters

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

Result

Type Description
Double Part length in map units.

Remarks

For polygons function returns length of the perimeter.

2020/05/07 01:09

Page Tools