Removes point of Index from a Polyline.
Second overload removes multiple points from FromIndex to ToIndex inclusive. If ToIndex >= PointCount the point list is truncated.
// Remove the last point from the selected Polyline TIEPolylineLayer( ImageEnView1.CurrentLayer ).RemovePoint( TIEPolylineLayer( ImageEnView1.CurrentLayer ).PointCount - 1 ); ImageEnView1.Update();
// Remove points 3, 4, 5 and 6 from the selected Polyline TIEPolylineLayer( ImageEnView1.CurrentLayer ).RemovePoint( 3, 6 ); ImageEnView1.Update();
// Remove all points after 2 TIEPolylineLayer( ImageEnView1.CurrentLayer ).RemovePoint( 3, MAXINT ); ImageEnView1.Update();