ImageEn, unit ievect

TImageEnVect.ObjName

TImageEnVect.ObjName


Declaration

property ObjName[hobj: integer]: AnsiString


Description

ObjName is an application string for the object hobj. ImageEn doesn't use this value, but saves and loads it like other properties.

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 ObjName, use: TIELayer.Name

ImageEnView1.CurrentLayer.Name := 'Mask layer';