ImageEn, unit IEVect

TImageEnVect.RemovePolyLinePoint

TImageEnVect.RemovePolyLinePoint


Declaration

procedure RemovePolyLinePoint(hobj: integer; Index: integer);


Description

Removes point of Index from a polyline.


Example

// Remove the last point from the selected polyline
hObj := ImageEnVect1.SelObjects[ 0 ];
ImageEnVect1.RemovePolyLinePoint( hObj , ImageEnVect1.ObjPolylinePointsCount[ hObj ] - 1 );


See Also

AddPolyLinePoint
SetObjPolylinePoints
ObjPolylinePoints


Transition Information

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

TIEPolylineLayer( ImageEnView1.CurrentLayer ).RemovePoint();
ImageEnView1.Update();