Declaration
property SelObjects[idx : integer]: integer; (Read-only)
Description
SelObjects returns the id (hobj) of idx-th selected object. The first selected object has an idx value of zero.
Returns -1 if there are no selected objects.
Example
// Sets pen color to clRed for all selected objects.
for i := 0 to ImageEnVect1.SelObjectsCount - 1 do
ImageEnVect1.ObjPenColor[ ImageEnVect1.SelObjects[i] ] := clGreen;