function CalcSelectionLen(Units: TIEUnits = ieuPixels): 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.
Note: ◼This method will not work with mask selections ◼For units other than ieuPixels, the value will be calculated using the image DPI