ImageEn, unit IEVect

TImageEnVect.CopyObjectToBack

TImageEnVect.CopyObjectToBack


Declaration

procedure CopyObjectToBack(hobj: integer; Antialias: boolean = true; AdaptBitmapPixelFormat: boolean = true);


Description

Merge the specified object onto the background image.
Set Antialias to true to apply the antialias filter (improve quality).
If AdaptBitmapPixelFormat is true (default) the image will be converted to 24 bit RGB before drawing objects.

IEV_PREVIOUS_INSERTED_OBJECT can be specified for hobj to refer to the object that was last inserted.
IEV_ALL_SELECTED_OBJECTS can be specified for hobj to refer to all objects that are currently selected.


Transition Information

If you are transitioning your code to TImageEnView Layers, instead of CopyObjectToBack, use: TImageEnView.LayersMerge

ImageEnView1.LayersMerge();