TIEPolylineLayer.InsertPoint
Declaration
procedure InsertPoint(AfterIndex: Integer; X, Y: integer; PointBase: TIEPointBase = iepbRange);
Description
Add a point within the polyline.
Each point of the polyline is represented by an x and y value in the range 0 to 1000. Where (0, 0) is the top-left pixel of the layer and (1000, 1000) is the bottom-right. Values less than 0 or more than 1000 will increase the size of the layer.
// Insert a point after the sixth point at the bottom-right of the layer
TIEPolylineLayer( ImageEnView1.CurrentLayer ).InsertPoint( 5, 1000, 1000 );
ImageEnView1.Update();
See Also
◼RemovePoint◼AddPoint◼SetPoint◼SetPoints◼Points