ImageEn, unit ievect

TImageEnVect.ObjTransparency

TImageEnVect.ObjTransparency


Declaration

property ObjTransparency[hobj: integer]: integer;


Description

ObjTransparency sets the transparency of the specified object. 0=fully transparent, 255=fully opaque.

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 ObjTransparency, use: TIELayer.Transparency or TIELayer.Opacity
Note: Generally TIELayer.Opacity is used

ImageEnView1.CurrentLayer.Transparency := 128;
ImageEnView1.Update();