// changes to red pen color for each object for i := 0 to ImageEnVect1.ObjectsCount - 1 do begin hobj := ImageEnVect1.GetObjFromIndex( i ); ImageEnVect1.ObjPenColor[ hobj ] := clRed; end;
Transition Information
There is no TImageEnView Layer equivalent of GetObjFromIndex. It is not needed. Layers are always referenced by index (where 0 is the background layer and LayersCount-1 is the foremost layer)