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.


Transition Information

If you are transitioning your code to TImageEnView Layers, instead of GetPolylineLen, use: TIEPolylineLayer.CalculateLength

d := TIEPolylineLayer( ImageEnView1.CurrentLayer ).CalculateLength( ieuInches );