ImageEn, unit ievect

TImageEnVect.GetSelectionLen

TImageEnVect.GetSelectionLen


Declaration

function GetSelectionLen: double;


Description

Returns the length (perimeter) of current selection.
If the selection is composed of only two points, the line length is returned. If the selection is composed of three or more points, the perimeter is returned.


Transition Information

If you are transitioning your code to TImageEnView Layers, instead of GetSelectionLen, use: CalcSelectionLen

l := ImageEnView1.CalcSelectionLen();