ImageEn, unit iexLayers

TIEPolylineLayer.InsertPoint

TIEPolylineLayer.InsertPoint

Declaration

procedure InsertPoint(AfterIndex: Integer; X, Y: Integer; PointBase: TIEPointBase = iepbRange);

Description

Add a point within the polyline.
PointBase specifies the basis of the points. The default is iepbRange, which means the x and y values are 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.

Example

// 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