User Tools

Site Tools


api:dk11:delphi:gislayervector.tgis_shape.lengthcs_void

Table of Contents

TGIS_Shape.LengthCS method

DK for Delphi | GisLayerVector.TGIS_Shape.LengthCS | Constructors | Fields | Methods | Properties

Calculate the length of a shape.

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

Syntax

// Delphi
public
  function LengthCS : Double; virtual;
// C++ Builder
public:
  virtual double LengthCS(void);

Result

Type Description
Double 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:09

Page Tools