ImageEn, unit iexLayers

TIEPolylineLayer.PointCount

TIEPolylineLayer.PointCount


Declaration

property PointCount: integer;


Description

Returns the count of points of the polyline.
You can also set PointCount to remove points from the end of the polyline (value must be lower than the existing point count.

Use Points to obtain the coordinates of point that compose the Polyline.


Example

// Remove the last 2 points from the polyline
With TIEPolylineLayer( ImageEnView1.CurrentLayer ) do
  PointCount := PointCount - 2;
ImageEnView1.Update();


See Also

Points
AddPoint
SetPoints