ImageEn, unit ievect

TImageEnVect.ObjPolylinePointsCount

TImageEnVect.ObjPolylinePointsCount


Declaration

property ObjPolylinePointsCount[hobj: integer]: integer;


Description

ObjPolylinePointsCount specifies the count of points that compose the hobj polyline.
Use ObjPolylinePoints to obtain the coordinates of point that compose the polyline.

hobj is the ID of the object. You can also specify IEV_NEXT_INSERTED_OBJECT (-1) which refers to the next object to be inserted or IEV_PREVIOUS_INSERTED_OBJECT (-2) for the last object inserted.


Transition Information

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

n := TIEPolylineLayer( ImageEnView1.CurrentLayer ).PointCount;