ImageEn, unit ievect

TImageEnVect.ObjGroupIndex

TImageEnVect.ObjGroupIndex


Declaration

property ObjGroupIndex[hobj: integer]: Integer;


Description

Specifies the Group ID of the object. When an object is selected all other objects with the same group ID are automatically selected too.
GroupIndex can be any value. A GroupIndex of 0 means the object is not grouped.

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.


Transition Information

If you are transitioning your code to TImageEnView Layers, instead of ObjGroupIndex, use: TIELayer.GroupIndex

ImageEnView1.CurrentLayer.GroupIndex := 5;