TImageEnVect.DrawOneObjectToBitmap
Declaration
procedure DrawOneObjectToBitmap(hobj: Integer; Dest: TIEBitmap; Antialias: Boolean = True; AdaptBitmapPixelFormat: Boolean = True);
Description
DrawOneObjectToBitmap draws a vectorial object on the specified
TIEBitmap object (Dest).
Antialias parameter controls the anti-alias filter.
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.
Example
ImageEnVect.DrawObjectsToBitmap( ImageEnView2.IEBitmap, True );
ImageEnView2.Update();
Transition Information
If you are transitioning your code to
TImageEnView Layers, instead of DrawOneObjectToBitmap, use:
TIELayer.CopyToBitmap
ImageEnView1.CurrentLayer.CopyToBitmap();