ImageEn, unit IEVect

TImageEnVect.AddPolyLinePoint

TImageEnVect.AddPolyLinePoint


Declaration

procedure AddPolyLinePoint(hobj: integer; X, Y: integer);


Description

Add a point to the end of a polyline.


Example

// Adds a point to the selected polyline
ImageEnVect1.AddPolyLinePoint( ImageEnVect1.SelObjects[ 0 ] , 100, 100 );


See Also

RemovePolyLinePoint
SetObjPolylinePoints
ObjPolylinePoints


Transition Information

If you are transitioning your code to TImageEnView Layers, instead of AddPolyLinePoint, use: TIEPolylineLayer.AddPoint.
Note: By default, point values are specified in the range 0 - 1000

TIEPolylineLayer( ImageEnView1.CurrentLayer ).AddPoint( 1000, 1000 );
ImageEnView1.Update();