ImageEn, unit ievect

TImageEnVect.GetPolylineLen

TImageEnVect.GetPolylineLen


Declaration

function GetPolylineLen(hobj: integer): double;


Description

GetPolylineLen returns the length (perimeter) of the specified polyline.

If the polyline is composed of two points, GetPolylineLen calculates the line length.
If the polyline is composed of three or more points, GetPolylineLen calculates the perimeter.