User Tools

Site Tools


api:dk11:delphi:gislayervector.tgis_shape.lengthcs_void

Table of Contents

TGIS_Shape.LengthCS method

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

Calculate the length of a shape.

Available also on: .NET | Java | ActiveX.

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.

2020/05/07 01:09