ImageEn, unit IEVect

TImageEnVect.SetObjPolylinePoints

TImageEnVect.SetObjPolylinePoints


Declaration

procedure SetObjPolylinePoints(hobj: integer; Points: array of TPoint);


Description

SetObjPolylinePoints specifies the points that compose the polyline for the polyline object hobj.
The points are specified in bitmap coordinates.

hobj is the ID of the object. You can also specify IEV_NEXT_INSERTED_OBJECT (-1) which refers to the next object to be inserted or IEV_PREVIOUS_INSERTED_OBJECT (-2) for the last object inserted.


See Also

ObjPolylinePoints
AddPolyLinePoint
RemovePolyLinePoint


Transition Information

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

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